zrong 发表于 2016-11-29 10:41:57

SQLITE源码剖析(15)

  声明:本SQLite源码剖析系列为刘兴(http://deepfuture.iyunv.com/)原创,未经笔者授权,任何人和机构不能转载
** Restrictions:
**
** <ul>必须保证sqlite3_exec()的第1个参数是有效且打开的database connection
** <li> The application must insure that the 1st parameter to sqlite3_exec()
**      is a valid and open .
** <li> The application must not close specified by
**      the 1st parameter to sqlite3_exec() while sqlite3_exec() is running.
**当sqlite3_exec()运行时,应用程序不能关闭被sqlite3_exec()第一个
**参数定义的database connection,也不能修改第2个参数定义的SQL文本
database connection** <li> The application must not modify the SQL statement text passed into
**      the 2nd parameter of sqlite3_exec() while sqlite3_exec() is running.
** </ul>
*/
SQLITE_API int sqlite3_exec(
  sqlite3*,                                  /* An open database */
  const char *sql,                           /* SQL to be evaluated */
  int (*callback)(void*,int,char**,char**),  /* Callback function */
  void *,                                    /* 1st argument to callback */
  char **errmsg                              /* Error msg written here */
);
页: [1]
查看完整版本: SQLITE源码剖析(15)