• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /macosx-10.10.1/apr-32/apr-util/apr-util/test/

Lines Matching defs:statement

39     const char *statement = "CREATE TABLE apr_dbd_test ("
43 rv = apr_dbd_query(driver, handle, &nrows, statement);
51 const char *statement = "DROP TABLE apr_dbd_test" ;
52 rv = apr_dbd_query(driver, handle, &nrows, statement);
62 const char *statement =
69 rv = apr_dbd_query(driver, handle, &nrows, statement);
81 statement = stmt[i];
82 rv = apr_dbd_query(driver, handle, &nrows, statement);
98 const char *statement = "INSERT into apr_dbd_test1 (col2) values ('foo')" ;
99 rv = apr_dbd_query(driver, handle, &nrows, statement);
102 statement = "INSERT into apr_dbd_test (col1, col2) values ('bar', 'foo')" ;
103 rv = apr_dbd_query(driver, handle, &nrows, statement);
114 const char* statement = "SELECT * FROM apr_dbd_test ORDER BY col1, col2";
117 rv = apr_dbd_select(driver,pool,handle,&res,statement,0);
145 const char* statement = "SELECT * FROM apr_dbd_test ORDER BY col1, col2";
148 rv = apr_dbd_select(driver,pool,handle,&res,statement,1);
201 const char* statement;
211 statement = "UPDATE apr_dbd_test SET col2 = 'failed'";
212 rv = apr_dbd_query(driver, handle, &nrows, statement);
220 statement = "INSERT INTO apr_dbd_test1 (col3) values (3)";
221 rv = apr_dbd_query(driver, handle, &nrows, statement);
225 statement = "INSERT INTO apr_dbd_test values ('zzz', 'aaa', 3)";
226 rv = apr_dbd_query(driver, handle, &nrows, statement);
247 statement = "UPDATE apr_dbd_test SET col2 = 'success'";
248 rv = apr_dbd_query(driver, handle, &nrows, statement);
255 statement = "INSERT INTO apr_dbd_test values ('aaa', 'zzz', 3)";
256 rv = apr_dbd_query(driver, handle, &nrows, statement);
276 apr_dbd_prepared_t *statement = NULL;
281 rv = apr_dbd_prepare(driver, pool, handle, query, label, &statement);
283 printf("Prepare statement failed!\n%s\n",
287 rv = apr_dbd_pvselect(driver, pool, handle, &res, statement, 0, "3", NULL);
289 printf("Exec of prepared statement failed!\n%s\n",
317 apr_dbd_prepared_t *statement = NULL;
322 rv = apr_dbd_prepare(driver, pool, handle, query, label, &statement);
323 /* rv = apr_dbd_prepare(driver, pool, handle, query, NULL, &statement); */
325 printf("Prepare statement failed!\n%s\n",
330 rv = apr_dbd_pvquery(driver, pool, handle, &nrows, statement,
334 printf("Exec of prepared statement failed!\n%s\n",