Changeset 29
- Timestamp:
- 10/16/06 12:07:47 (2 years ago)
- Files:
-
- trunk/buildme.d (modified) (3 diffs)
- trunk/dbi/sqlite/imp.d (modified) (9 diffs)
- trunk/docs/dbi/sqlite/imp.html (modified) (75 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/buildme.d
r27 r29 9 9 * isn't on that list is passed to the compiler. 10 10 * 11 * Bu ild is currently required. It can be found at www.dsource.org/projects/build.11 * Bud is currently required. It can be found at www.dsource.org/projects/build. 12 12 * 13 13 * The executable generated by this must be run in the directory below dbi. … … 30 30 * 31 31 * Version: 0.2.4 32 * 33 * Modified: 34 * 2006-10-16 Changed build to bud. 32 35 * 33 36 * Copyright: BSD license … … 143 146 } 144 147 buildCommand.length = buildCommand.length - 1; 145 if (system("bu ild " ~ buildCommand)) {148 if (system("bud " ~ buildCommand)) { 146 149 system("pause"); 147 150 } trunk/dbi/sqlite/imp.d
r27 r29 5 5 * 6 6 * Version: 7 * SQLite version 3.3. 78 * 9 * Import library version 0.0 37 * SQLite version 3.3.8 8 * 9 * Import library version 0.04 10 10 * 11 11 * Authors: The D DBI project … … 13 13 * Copyright: BSD license 14 14 */ 15 16 17 //161918 19 15 20 16 module dbi.sqlite.imp; … … 81 77 struct sqlite3_module { 82 78 int iVersion; 83 extern (C) int function(sqlite3* db, void* pAux, int argc, char** argv, sqlite3_vtab** ppVTab ) xCreate;84 extern (C) int function(sqlite3* db, void* pAux, int argc, char** argv, sqlite3_vtab** ppVTab ) xConnect;79 extern (C) int function(sqlite3* db, void* pAux, int argc, char** argv, sqlite3_vtab** ppVTab, char**) xCreate; 80 extern (C) int function(sqlite3* db, void* pAux, int argc, char** argv, sqlite3_vtab** ppVTab, char**) xConnect; 85 81 extern (C) int function(sqlite3_vtab* pVTab, sqlite3_index_info* pInfo) xBestIndex; 86 82 extern (C) int function(sqlite3_vtab* pVTab) xDisconnect; … … 119 115 sqlite3_module* pModule; /// The module for this virtual table. 120 116 int nRef; /// Used internally. 117 char* zErrMsg; /// Error message from sqlite3_mprintf(). 121 118 } 122 119 … … 133 130 alias int function(void*, int, char**, char**) sqlite_callback; 134 131 135 const uint SQLITE_OK= 0; /// Successful result.136 const uint SQLITE_ERROR= 1; /// SQL error or missing database.137 const uint SQLITE_INTERNAL= 2; /// An internal logic error in SQLite.138 const uint SQLITE_PERM= 3; /// Access permission denied.139 const uint SQLITE_ABORT= 4; /// Callback routine requested an abort.140 const uint SQLITE_BUSY= 5; /// The database file is locked.141 const uint SQLITE_LOCKED= 6; /// A table in the database is locked.142 const uint SQLITE_NOMEM= 7; /// A malloc() failed.143 const uint SQLITE_READONLY= 8; /// Attempt to write a readonly database.144 const uint SQLITE_INTERRUPT= 9; /// Operation terminated by sqlite_interrupt().145 const uint SQLITE_IOERR= 10; /// Some kind of disk I/O error occurred.146 const uint SQLITE_CORRUPT= 11; /// The database disk image is malformed.147 const uint SQLITE_NOTFOUND= 12; /// (Internal Only) Table or record not found.148 const uint SQLITE_FULL= 13; /// Insertion failed because database is full.149 const uint SQLITE_CANTOPEN= 14; /// Unable to open the database file.150 const uint SQLITE_PROTOCOL= 15; /// Database lock protocol error.151 const uint SQLITE_EMPTY= 16; /// (Internal Only) Database table is empty.152 const uint SQLITE_SCHEMA= 17; /// The database schema changed.153 const uint SQLITE_TOOBIG= 18; /// Too much data for one row of a table.154 const uint SQLITE_CONSTRAINT= 19; /// Abort due to constraint violation.155 const uint SQLITE_MISMATCH= 20; /// Data type mismatch.156 const uint SQLITE_MISUSE= 21; /// Library used incorrectly.157 const uint SQLITE_NOLFS= 22; /// Uses OS features not supported on host.158 const uint SQLITE_AUTH= 23; /// Authorization denied.159 const uint SQLITE_ROW= 100; /// sqlite_step() has another row ready.160 const uint SQLITE_DONE= 101; /// sqlite_step() has finished executing.161 const uint SQLITE_UTF8= 1; /// The text is in UTF8 format.162 const uint SQLITE_UTF16BE= 2; /// The text is in UTF16 big endian format.163 const uint SQLITE_UTF16LE= 3; /// The text is in UTF16 little endian format.164 const uint SQLITE_UTF16= 4; /// The text is in UTF16 format.165 const uint SQLITE_ANY= 5; /// The text is in some format or another.166 167 const uint SQLITE_INTEGER= 1; /// The data value is an integer.168 const uint SQLITE_FLOAT= 2; /// The data value is a float.169 const uint SQLITE_TEXT= 3; /// The data value is text.170 const uint SQLITE_BLOB= 4; /// The data value is a blob.171 const uint SQLITE_NULL= 5; /// The data value is _null.172 173 const uint SQLITE_DENY= 1; /// Abort the SQL statement with an error.174 const uint SQLITE_IGNORE= 2; /// Don't allow access, but don't generate an error.132 const int SQLITE_OK = 0; /// Successful result. 133 const int SQLITE_ERROR = 1; /// SQL error or missing database. 134 const int SQLITE_INTERNAL = 2; /// An internal logic error in SQLite. 135 const int SQLITE_PERM = 3; /// Access permission denied. 136 const int SQLITE_ABORT = 4; /// Callback routine requested an abort. 137 const int SQLITE_BUSY = 5; /// The database file is locked. 138 const int SQLITE_LOCKED = 6; /// A table in the database is locked. 139 const int SQLITE_NOMEM = 7; /// A malloc() failed. 140 const int SQLITE_READONLY = 8; /// Attempt to write a readonly database. 141 const int SQLITE_INTERRUPT = 9; /// Operation terminated by sqlite_interrupt(). 142 const int SQLITE_IOERR = 10; /// Some kind of disk I/O error occurred. 143 const int SQLITE_CORRUPT = 11; /// The database disk image is malformed. 144 const int SQLITE_NOTFOUND = 12; /// (Internal Only) Table or record not found. 145 const int SQLITE_FULL = 13; /// Insertion failed because database is full. 146 const int SQLITE_CANTOPEN = 14; /// Unable to open the database file. 147 const int SQLITE_PROTOCOL = 15; /// Database lock protocol error. 148 const int SQLITE_EMPTY = 16; /// (Internal Only) Database table is empty. 149 const int SQLITE_SCHEMA = 17; /// The database schema changed. 150 const int SQLITE_TOOBIG = 18; /// Too much data for one row of a table. 151 const int SQLITE_CONSTRAINT = 19; /// Abort due to constraint violation. 152 const int SQLITE_MISMATCH = 20; /// Data type mismatch. 153 const int SQLITE_MISUSE = 21; /// Library used incorrectly. 154 const int SQLITE_NOLFS = 22; /// Uses OS features not supported on host. 155 const int SQLITE_AUTH = 23; /// Authorization denied. 156 const int SQLITE_ROW = 100; /// sqlite_step() has another row ready. 157 const int SQLITE_DONE = 101; /// sqlite_step() has finished executing. 158 const int SQLITE_UTF8 = 1; /// The text is in UTF8 format. 159 const int SQLITE_UTF16BE = 2; /// The text is in UTF16 big endian format. 160 const int SQLITE_UTF16LE = 3; /// The text is in UTF16 little endian format. 161 const int SQLITE_UTF16 = 4; /// The text is in UTF16 format. 162 const int SQLITE_ANY = 5; /// The text is in some format or another. 163 164 const int SQLITE_INTEGER = 1; /// The data value is an integer. 165 const int SQLITE_FLOAT = 2; /// The data value is a float. 166 const int SQLITE_TEXT = 3; /// The data value is text. 167 const int SQLITE_BLOB = 4; /// The data value is a blob. 168 const int SQLITE_NULL = 5; /// The data value is _null. 169 170 const int SQLITE_DENY = 1; /// Abort the SQL statement with an error. 171 const int SQLITE_IGNORE = 2; /// Don't allow access, but don't generate an error. 175 172 176 173 const void function(void*) SQLITE_STATIC = cast(void function(void*))0; /// The data doesn't need to be freed by SQLite. 177 174 const void function(void*) SQLITE_TRANSIENT = cast(void function(void*))-1; /// SQLite should make a private copy of the data. 178 175 179 const uint SQLITE_CREATE_INDEX = 1; /// Index Name Table Name 180 const uint SQLITE_CREATE_TABLE = 2; /// Table Name NULL 181 const uint SQLITE_CREATE_TEMP_INDEX = 3; /// Index Name Table Name 182 const uint SQLITE_CREATE_TEMP_TABLE = 4; /// Table Name NULL 183 const uint SQLITE_CREATE_TEMP_TRIGGER = 5; /// Trigger Name Table Name 184 const uint SQLITE_CREATE_TEMP_VIEW = 6; /// View Name NULL 185 const uint SQLITE_CREATE_TRIGGER = 7; /// Trigger Name Table Name 186 const uint SQLITE_CREATE_VIEW = 8; /// View Name NULL 187 const uint SQLITE_DELETE = 9; /// Table Name NULL 188 const uint SQLITE_DROP_INDEX = 10; /// Index Name Table Name 189 const uint SQLITE_DROP_TABLE = 11; /// Table Name NULL 190 const uint SQLITE_DROP_TEMP_INDEX = 12; /// Index Name Table Name 191 const uint SQLITE_DROP_TEMP_TABLE = 13; /// Table Name NULL 192 const uint SQLITE_DROP_TEMP_TRIGGER = 14; /// Trigger Name Table Name 193 const uint SQLITE_DROP_TEMP_VIEW = 15; /// View Name NULL 194 const uint SQLITE_DROP_TRIGGER = 16; /// Trigger Name Table Name 195 const uint SQLITE_DROP_VIEW = 17; /// View Name NULL 196 const uint SQLITE_INSERT = 18; /// Table Name NULL 197 const uint SQLITE_PRAGMA = 19; /// Pragma Name 1st arg or NULL 198 const uint SQLITE_READ = 20; /// Table Name Column Name 199 const uint SQLITE_SELECT = 21; /// NULL NULL 200 const uint SQLITE_TRANSACTION = 22; /// NULL NULL 201 const uint SQLITE_UPDATE = 23; /// Table Name Column Name 202 const uint SQLITE_ATTACH = 24; /// Filename NULL 203 const uint SQLITE_DETACH = 25; /// Database Name NULL 204 const uint SQLITE_ALTER_TABLE = 26; /// Database Name Table Name 205 const uint SQLITE_REINDEX = 27; /// Index Name NULL 206 const uint SQLITE_ANALYZE = 28; /// Table Name NULL 207 const uint SQLITE_CREATE_VTABLE = 29; /// Table Name Module Name 208 const uint SQLITE_DROP_VTABLE = 30; /// Table Name Module Name 209 210 const uint SQLITE_INDEX_CONSTRAINT_EQ = 2; /// 211 const uint SQLITE_INDEX_CONSTRAINT_GT = 4; /// 212 const uint SQLITE_INDEX_CONSTRAINT_LE = 8; /// 213 const uint SQLITE_INDEX_CONSTRAINT_LT = 16; /// 214 const uint SQLITE_INDEX_CONSTRAINT_GE = 32; /// 215 const uint SQLITE_INDEX_CONSTRAINT_MATCH = 64; /// 176 const int SQLITE_CREATE_INDEX = 1; /// Index Name Table Name 177 const int SQLITE_CREATE_TABLE = 2; /// Table Name NULL 178 const int SQLITE_CREATE_TEMP_INDEX = 3; /// Index Name Table Name 179 const int SQLITE_CREATE_TEMP_TABLE = 4; /// Table Name NULL 180 const int SQLITE_CREATE_TEMP_TRIGGER = 5; /// Trigger Name Table Name 181 const int SQLITE_CREATE_TEMP_VIEW = 6; /// View Name NULL 182 const int SQLITE_CREATE_TRIGGER = 7; /// Trigger Name Table Name 183 const int SQLITE_CREATE_VIEW = 8; /// View Name NULL 184 const int SQLITE_DELETE = 9; /// Table Name NULL 185 const int SQLITE_DROP_INDEX = 10; /// Index Name Table Name 186 const int SQLITE_DROP_TABLE = 11; /// Table Name NULL 187 const int SQLITE_DROP_TEMP_INDEX = 12; /// Index Name Table Name 188 const int SQLITE_DROP_TEMP_TABLE = 13; /// Table Name NULL 189 const int SQLITE_DROP_TEMP_TRIGGER = 14; /// Trigger Name Table Name 190 const int SQLITE_DROP_TEMP_VIEW = 15; /// View Name NULL 191 const int SQLITE_DROP_TRIGGER = 16; /// Trigger Name Table Name 192 const int SQLITE_DROP_VIEW = 17; /// View Name NULL 193 const int SQLITE_INSERT = 18; /// Table Name NULL 194 const int SQLITE_PRAGMA = 19; /// Pragma Name 1st arg or NULL 195 const int SQLITE_READ = 20; /// Table Name Column Name 196 const int SQLITE_SELECT = 21; /// NULL NULL 197 const int SQLITE_TRANSACTION = 22; /// NULL NULL 198 const int SQLITE_UPDATE = 23; /// Table Name Column Name 199 const int SQLITE_ATTACH = 24; /// Filename NULL 200 const int SQLITE_DETACH = 25; /// Database Name NULL 201 const int SQLITE_ALTER_TABLE = 26; /// Database Name Table Name 202 const int SQLITE_REINDEX = 27; /// Index Name NULL 203 const int SQLITE_ANALYZE = 28; /// Table Name NULL 204 const int SQLITE_CREATE_VTABLE = 29; /// Table Name Module Name 205 const int SQLITE_DROP_VTABLE = 30; /// Table Name Module Name 206 const int SQLITE_FUNCTION = 31; /// Function Name NULL 207 208 const int SQLITE_INDEX_CONSTRAINT_EQ = 2; /// 209 const int SQLITE_INDEX_CONSTRAINT_GT = 4; /// 210 const int SQLITE_INDEX_CONSTRAINT_LE = 8; /// 211 const int SQLITE_INDEX_CONSTRAINT_LT = 16; /// 212 const int SQLITE_INDEX_CONSTRAINT_GE = 32; /// 213 const int SQLITE_INDEX_CONSTRAINT_MATCH = 64; /// 214 215 const int SQLITE_IOERR_READ = SQLITE_IOERR | (1<<8); /// 216 const int SQLITE_IOERR_SHORT_READ = SQLITE_IOERR | (2<<8); /// 217 const int SQLITE_IOERR_WRITE = SQLITE_IOERR | (3<<8); /// 218 const int SQLITE_IOERR_FSYNC = SQLITE_IOERR | (4<<8); /// 219 const int SQLITE_IOERR_DIR_FSYNC = SQLITE_IOERR | (5<<8); /// 220 const int SQLITE_IOERR_TRUNCATE = SQLITE_IOERR | (6<<8); /// 221 const int SQLITE_IOERR_FSTAT = SQLITE_IOERR | (7<<8); /// 222 const int SQLITE_IOERR_UNLOCK = SQLITE_IOERR | (8<<8); /// 223 const int SQLITE_IOERR_RDLOCK = SQLITE_IOERR | (9<<8); /// 216 224 217 225 extern (C): … … 230 238 * 231 239 */ 240 int sqlite3_auto_extension (void* xEntryPoint); 241 242 /** 243 * 244 */ 232 245 int sqlite3_bind_blob (sqlite3_stmt* stmt, int index, void* value, int n, void function(void*) destructor); 233 246 … … 510 523 * 511 524 */ 525 int sqlite3_extended_result_codes (sqlite3* database, int onoff); 526 527 /** 528 * 529 */ 512 530 int sqlite3_finalize (sqlite3_stmt* stmt); 513 531 … … 585 603 * 586 604 */ 605 int sqlite3_overload_function (sqlite3* database, char* zFuncName, int nArg); 606 /** 607 * 608 */ 587 609 int sqlite3_prepare (sqlite3* database, char* zSql, int nBytes, sqlite3_stmt** stmt, char** zTail); 588 610 … … 615 637 * 616 638 */ 639 void sqlite3_reset_auto_extension (); 640 641 /** 642 * 643 */ 617 644 void sqlite3_result_blob (sqlite3_context* context, void* value, int n, void function(void*) destructor); 618 645 trunk/docs/dbi/sqlite/imp.html
r27 r29 51 51 52 52 </p> 53 <p><strong>Version:</strong><br />SQLite version 3.3. 753 <p><strong>Version:</strong><br />SQLite version 3.3.8 54 54 <br /><br /> 55 55 56 Import library version 0.0 356 Import library version 0.04 57 57 58 58 </p> … … 164 164 165 165 </dd> 166 <dt><span class="big">char* <span class="underline">zErrMsg</span>; 167 </span></dt> 168 <dd><p>Error message from sqlite3_mprintf(). 169 </p> 170 171 </dd> 166 172 </dl> 167 173 </dd> … … 181 187 <dd><br /><br /> 182 188 </dd> 183 <dt><span class="big">const uint <span class="underline">SQLITE_OK</span>;189 <dt><span class="big">const int <span class="underline">SQLITE_OK</span>; 184 190 </span></dt> 185 191 <dd><p>Successful result. … … 187 193 188 194 </dd> 189 <dt><span class="big">const uint <span class="underline">SQLITE_ERROR</span>;195 <dt><span class="big">const int <span class="underline">SQLITE_ERROR</span>; 190 196 </span></dt> 191 197 <dd><p>SQL error or missing database. … … 193 199 194 200 </dd> 195 <dt><span class="big">const uint <span class="underline">SQLITE_INTERNAL</span>;201 <dt><span class="big">const int <span class="underline">SQLITE_INTERNAL</span>; 196 202 </span></dt> 197 203 <dd><p>An internal logic error in SQLite. … … 199 205 200 206 </dd> 201 <dt><span class="big">const uint <span class="underline">SQLITE_PERM</span>;207 <dt><span class="big">const int <span class="underline">SQLITE_PERM</span>; 202 208 </span></dt> 203 209 <dd><p>Access permission denied. … … 205 211 206 212 </dd> 207 <dt><span class="big">const uint <span class="underline">SQLITE_ABORT</span>;213 <dt><span class="big">const int <span class="underline">SQLITE_ABORT</span>; 208 214 </span></dt> 209 215 <dd><p>Callback routine requested an abort. … … 211 217 212 218 </dd> 213 <dt><span class="big">const uint <span class="underline">SQLITE_BUSY</span>;219 <dt><span class="big">const int <span class="underline">SQLITE_BUSY</span>; 214 220 </span></dt> 215 221 <dd><p>The database file is locked. … … 217 223 218 224 </dd> 219 <dt><span class="big">const uint <span class="underline">SQLITE_LOCKED</span>;225 <dt><span class="big">const int <span class="underline">SQLITE_LOCKED</span>; 220 226 </span></dt> 221 227 <dd><p>A table in the database is locked. … … 223 229 224 230 </dd> 225 <dt><span class="big">const uint <span class="underline">SQLITE_NOMEM</span>;231 <dt><span class="big">const int <span class="underline">SQLITE_NOMEM</span>; 226 232 </span></dt> 227 233 <dd><p>A malloc() failed. … … 229 235 230 236 </dd> 231 <dt><span class="big">const uint <span class="underline">SQLITE_READONLY</span>;237 <dt><span class="big">const int <span class="underline">SQLITE_READONLY</span>; 232 238 </span></dt> 233 239 <dd><p>Attempt to write a readonly database. … … 235 241 236 242 </dd> 237 <dt><span class="big">const uint <span class="underline">SQLITE_INTERRUPT</span>;243 <dt><span class="big">const int <span class="underline">SQLITE_INTERRUPT</span>; 238 244 </span></dt> 239 245 <dd><p>Operation terminated by sqlite_interrupt(). … … 241 247 242 248 </dd> 243 <dt><span class="big">const uint <span class="underline">SQLITE_IOERR</span>;249 <dt><span class="big">const int <span class="underline">SQLITE_IOERR</span>; 244 250 </span></dt> 245 251 <dd><p>Some kind of disk I/O error occurred. … … 247 253 248 254 </dd> 249 <dt><span class="big">const uint <span class="underline">SQLITE_CORRUPT</span>;255 <dt><span class="big">const int <span class="underline">SQLITE_CORRUPT</span>; 250 256 </span></dt> 251 257 <dd><p>The database disk image is malformed. … … 253 259 254 260 </dd> 255 <dt><span class="big">const uint <span class="underline">SQLITE_NOTFOUND</span>;261 <dt><span class="big">const int <span class="underline">SQLITE_NOTFOUND</span>; 256 262 </span></dt> 257 263 <dd><p>(Internal Only) Table or record not found. … … 259 265 260 266 </dd> 261 <dt><span class="big">const uint <span class="underline">SQLITE_FULL</span>;267 <dt><span class="big">const int <span class="underline">SQLITE_FULL</span>; 262 268 </span></dt> 263 269 <dd><p>Insertion failed because database is full. … … 265 271 266 272 </dd> 267 <dt><span class="big">const uint <span class="underline">SQLITE_CANTOPEN</span>;273 <dt><span class="big">const int <span class="underline">SQLITE_CANTOPEN</span>; 268 274 </span></dt> 269 275 <dd><p>Unable to open the database file. … … 271 277 272 278 </dd> 273 <dt><span class="big">const uint <span class="underline">SQLITE_PROTOCOL</span>;279 <dt><span class="big">const int <span class="underline">SQLITE_PROTOCOL</span>; 274 280 </span></dt> 275 281 <dd><p>Database lock protocol error. … … 277 283 278 284 </dd> 279 <dt><span class="big">const uint <span class="underline">SQLITE_EMPTY</span>;285 <dt><span class="big">const int <span class="underline">SQLITE_EMPTY</span>; 280 286 </span></dt> 281 287 <dd><p>(Internal Only) Database table is empty. … … 283 289 284 290 </dd> 285 <dt><span class="big">const uint <span class="underline">SQLITE_SCHEMA</span>;291 <dt><span class="big">const int <span class="underline">SQLITE_SCHEMA</span>; 286 292 </span></dt> 287 293 <dd><p>The database schema changed. … … 289 295 290 296 </dd> 291 <dt><span class="big">const uint <span class="underline">SQLITE_TOOBIG</span>;297 <dt><span class="big">const int <span class="underline">SQLITE_TOOBIG</span>; 292 298 </span></dt> 293 299 <dd><p>Too much data for one row of a table. … … 295 301 296 302 </dd> 297 <dt><span class="big">const uint <span class="underline">SQLITE_CONSTRAINT</span>;303 <dt><span class="big">const int <span class="underline">SQLITE_CONSTRAINT</span>; 298 304 </span></dt> 299 305 <dd><p>Abort due to constraint violation. … … 301 307 302 308 </dd> 303 <dt><span class="big">const uint <span class="underline">SQLITE_MISMATCH</span>;309 <dt><span class="big">const int <span class="underline">SQLITE_MISMATCH</span>; 304 310 </span></dt> 305 311 <dd><p>Data type mismatch. … … 307 313 308 314 </dd> 309 <dt><span class="big">const uint <span class="underline">SQLITE_MISUSE</span>;315 <dt><span class="big">const int <span class="underline">SQLITE_MISUSE</span>; 310 316 </span></dt> 311 317 <dd><p>Library used incorrectly. … … 313 319 314 320 </dd> 315 <dt><span class="big">const uint <span class="underline">SQLITE_NOLFS</span>;321 <dt><span class="big">const int <span class="underline">SQLITE_NOLFS</span>; 316 322 </span></dt> 317 323 <dd><p>Uses OS features not supported on host. … … 319 325 320 326 </dd> 321 <dt><span class="big">const uint <span class="underline">SQLITE_AUTH</span>;327 <dt><span class="big">const int <span class="underline">SQLITE_AUTH</span>; 322 328 </span></dt> 323 329 <dd><p>Authorization denied. … … 325 331 326 332 </dd> 327 <dt><span class="big">const uint <span class="underline">SQLITE_ROW</span>;333 <dt><span class="big">const int <span class="underline">SQLITE_ROW</span>; 328 334 </span></dt> 329 335 <dd><p>sqlite_step() has another row ready. … … 331 337 332 338 </dd> 333 <dt><span class="big">const uint <span class="underline">SQLITE_DONE</span>;339 <dt><span class="big">const int <span class="underline">SQLITE_DONE</span>; 334 340 </span></dt> 335 341 <dd><p>sqlite_step() has finished executing. … … 337 343 338 344 </dd> 339 <dt><span class="big">const uint <span class="underline">SQLITE_UTF8</span>;345 <dt><span class="big">const int <span class="underline">SQLITE_UTF8</span>; 340 346 </span></dt> 341 347 <dd><p>The text is in UTF8 format. … … 343 349 344 350 </dd> 345 <dt><span class="big">const uint <span class="underline">SQLITE_UTF16BE</span>;351 <dt><span class="big">const int <span class="underline">SQLITE_UTF16BE</span>; 346 352 </span></dt> 347 353 <dd><p>The text is in UTF16 big endian format. … … 349 355 350 356 </dd> 351 <dt><span class="big">const uint <span class="underline">SQLITE_UTF16LE</span>;357 <dt><span class="big">const int <span class="underline">SQLITE_UTF16LE</span>; 352 358 </span></dt> 353 359 <dd><p>The text is in UTF16 little endian format. … … 355 361 356 362 </dd> 357 <dt><span class="big">const uint <span class="underline">SQLITE_UTF16</span>;363 <dt><span class="big">const int <span class="underline">SQLITE_UTF16</span>; 358 364 </span></dt> 359 365 <dd><p>The text is in UTF16 format. … … 361 367 362 368 </dd> 363 <dt><span class="big">const uint <span class="underline">SQLITE_ANY</span>;369 <dt><span class="big">const int <span class="underline">SQLITE_ANY</span>; 364 370 </span></dt> 365 371 <dd><p>The text is in some format or another. … … 367 373 368 374 </dd> 369 <dt><span class="big">const uint <span class="underline">SQLITE_INTEGER</span>;375 <dt><span class="big">const int <span class="underline">SQLITE_INTEGER</span>; 370 376 </span></dt> 371 377 <dd><p>The data value is an integer. … … 373 379 374 380 </dd> 375 <dt><span class="big">const uint <span class="underline">SQLITE_FLOAT</span>;381 <dt><span class="big">const int <span class="underline">SQLITE_FLOAT</span>; 376 382 </span></dt> 377 383 <dd><p>The data value is a float. … … 379 385 380 386 </dd> 381 <dt><span class="big">const uint <span class="underline">SQLITE_TEXT</span>;387 <dt><span class="big">const int <span class="underline">SQLITE_TEXT</span>; 382 388 </span></dt> 383 389 <dd><p>The data value is text. … … 385 391 386 392 </dd> 387 <dt><span class="big">const uint <span class="underline">SQLITE_BLOB</span>;393 <dt><span class="big">const int <span class="underline">SQLITE_BLOB</span>; 388 394 </span></dt> 389 395 <dd><p>The data value is a blob. … … 391 397 392 398 </dd> 393 <dt><span class="big">const uint <span class="underline">SQLITE_NULL</span>;399 <dt><span class="big">const int <span class="underline">SQLITE_NULL</span>; 394 400 </span></dt> 395 401 <dd><p>The data value is null. … … 397 403 398 404 </dd> 399 <dt><span class="big">const uint <span class="underline">SQLITE_DENY</span>;405 <dt><span class="big">const int <span class="underline">SQLITE_DENY</span>; 400 406 </span></dt> 401 407 <dd><p>Abort the SQL statement with an error. … … 403 409 404 410 </dd> 405 <dt><span class="big">const uint <span class="underline">SQLITE_IGNORE</span>;411 <dt><span class="big">const int <span class="underline">SQLITE_IGNORE</span>; 406 412 </span></dt> 407 413 <dd><p>Don't allow access, but don't generate an error. … … 421 427 422 428 </dd> 423 <dt><span class="big">const uint <span class="underline">SQLITE_CREATE_INDEX</span>;429 <dt><span class="big">const int <span class="underline">SQLITE_CREATE_INDEX</span>; 424 430 </span></dt> 425 431 <dd><p>Index Name Table Name … … 427 433 428 434 </dd> 429 <dt><span class="big">const uint <span class="underline">SQLITE_CREATE_TABLE</span>;435 <dt><span class="big">const int <span class="underline">SQLITE_CREATE_TABLE</span>; 430 436 </span></dt> 431 437 <dd><p>Table Name NULL … … 433 439 434 440 </dd> 435 <dt><span class="big">const uint <span class="underline">SQLITE_CREATE_TEMP_INDEX</span>;441 <dt><span class="big">const int <span class="underline">SQLITE_CREATE_TEMP_INDEX</span>; 436 442 </span></dt> 437 443 <dd><p>Index Name Table Name … … 439 445 440 446 </dd> 441 <dt><span class="big">const uint <span class="underline">SQLITE_CREATE_TEMP_TABLE</span>;447 <dt><span class="big">const int <span class="underline">SQLITE_CREATE_TEMP_TABLE</span>; 442 448 </span></dt> 443 449 <dd><p>Table Name NULL … … 445 451 446 452 </dd> 447 <dt><span class="big">const uint <span class="underline">SQLITE_CREATE_TEMP_TRIGGER</span>;453 <dt><span class="big">const int <span class="underline">SQLITE_CREATE_TEMP_TRIGGER</span>; 448 454 </span></dt> 449 455 <dd><p>Trigger Name Table Name … … 451 457 452 458 </dd> 453 <dt><span class="big">const uint <span class="underline">SQLITE_CREATE_TEMP_VIEW</span>;459 <dt><span class="big">const int <span class="underline">SQLITE_CREATE_TEMP_VIEW</span>; 454 460 </span></dt> 455 461 <dd><p>View Name NULL … … 457 463 458 464 </dd> 459 <dt><span class="big">const uint <span class="underline">SQLITE_CREATE_TRIGGER</span>;465 <dt><span class="big">const int <span class="underline">SQLITE_CREATE_TRIGGER</span>; 460 466 </span></dt> 461 467 <dd><p>Trigger Name Table Name … … 463 469 464 470 </dd> 465 <dt><span class="big">const uint <span class="underline">SQLITE_CREATE_VIEW</span>;471 <dt><span class="big">const int <span class="underline">SQLITE_CREATE_VIEW</span>; 466 472 </span></dt> 467 473 <dd><p>View Name NULL … … 469 475 470 476 </dd> 471 <dt><span class="big">const uint <span class="underline">SQLITE_DELETE</span>;477 <dt><span class="big">const int <span class="underline">SQLITE_DELETE</span>; 472 478 </span></dt> 473 479 <dd><p>Table Name NULL … … 475 481 476 482 </dd> 477 <dt><span class="big">const uint <span class="underline">SQLITE_DROP_INDEX</span>;483 <dt><span class="big">const int <span class="underline">SQLITE_DROP_INDEX</span>; 478 484 </span></dt> 479 485 <dd><p>Index Name Table Name … … 481 487 482 488 </dd> 483 <dt><span class="big">const uint <span class="underline">SQLITE_DROP_TABLE</span>;489 <dt><span class="big">const int <span class="underline">SQLITE_DROP_TABLE</span>; 484 490 </span></dt> 485 491 <dd><p>Table Name NULL … … 487 493 488 494 </dd> 489 <dt><span class="big">const uint <span class="underline">SQLITE_DROP_TEMP_INDEX</span>;495 <dt><span class="big">const int <span class="underline">SQLITE_DROP_TEMP_INDEX</span>; 490 496 </span></dt> 491 497 <dd><p>Index Name Table Name … … 493 499 494 500 </dd> 495 <dt><span class="big">const uint <span class="underline">SQLITE_DROP_TEMP_TABLE</span>;501 <dt><span class="big">const int <span class="underline">SQLITE_DROP_TEMP_TABLE</span>; 496 502 </span></dt> 497 503 <dd><p>Table Name NULL … … 499 505 500 506 </dd> 501 <dt><span class="big">const uint <span class="underline">SQLITE_DROP_TEMP_TRIGGER</span>;507 <dt><span class="big">const int <span class="underline">SQLITE_DROP_TEMP_TRIGGER</span>; 502 508 </span></dt> 503 509 <dd><p>Trigger Name Table Name … … 505 511 506 512 </dd> 507 <dt><span class="big">const uint <span class="underline">SQLITE_DROP_TEMP_VIEW</span>;513 <dt><span class="big">const int <span class="underline">SQLITE_DROP_TEMP_VIEW</span>; 508 514 </span></dt> 509 515 <dd><p>View Name NULL … … 511 517 512 518 </dd> 513 <dt><span class="big">const uint <span class="underline">SQLITE_DROP_TRIGGER</span>;519 <dt><span class="big">const int <span class="underline">SQLITE_DROP_TRIGGER</span>; 514 520 </span></dt> 515 521 <dd><p>Trigger Name Table Name … … 517 523 518 524 </dd> 519 <dt><span class="big">const uint <span class="underline">SQLITE_DROP_VIEW</span>;525 <dt><span class="big">const int <span class="underline">SQLITE_DROP_VIEW</span>; 520 526 </span></dt> 521 527 <dd><p>View Name NULL … … 523 529 524 530 </dd> 525 <dt><span class="big">const uint <span class="underline">SQLITE_INSERT</span>;531 <dt><span class="big">const int <span class="underline">SQLITE_INSERT</span>; 526 532 </span></dt> 527 533 <dd><p>Table Name NULL … … 529 535 530 536 </dd> 531 <dt><span class="big">const uint <span class="underline">SQLITE_PRAGMA</span>;537 <dt><span class="big">const int <span class="underline">SQLITE_PRAGMA</span>; 532 538 </span></dt> 533 539 <dd><p>Pragma Name 1st arg or NULL … … 535 541 536 542 </dd> 537 <dt><span class="big">const uint <span class="underline">SQLITE_READ</span>;543 <dt><span class="big">const int <span class="underline">SQLITE_READ</span>; 538 544 </span></dt> 539 545 <dd><p>Table Name Column Name … … 541 547 542 548 </dd> 543 <dt><span class="big">const uint <span class="underline">SQLITE_SELECT</span>;549 <dt><span class="big">const int <span class="underline">SQLITE_SELECT</span>; 544 550 </span></dt> 545 551 <dd><p>NULL NULL … … 547 553 548 554 </dd> 549 <dt><span class="big">const uint <span class="underline">SQLITE_TRANSACTION</span>;555 <dt><span class="big">const int <span class="underline">SQLITE_TRANSACTION</span>; 550 556 </span></dt> 551 557 <dd><p>NULL NULL … … 553 559 554 560 </dd> 555 <dt><span class="big">const uint <span class="underline">SQLITE_UPDATE</span>;561 <dt><span class="big">const int <span class="underline">SQLITE_UPDATE</span>; 556 562 </span></dt> 557 563 <dd><p>Table Name Column Name … … 559 565 560 566 </dd> 561 <dt><span class="big">const uint <span class="underline">SQLITE_ATTACH</span>;567 <dt><span class="big">const int <span class="underline">SQLITE_ATTACH</span>; 562 568 </span></dt> 563 569 <dd><p>Filename NULL … … 565 571 566 572 </dd> 567 <dt><span class="big">const uint <span class="underline">SQLITE_DETACH</span>;573 <dt><span class="big">const int <span class="underline">SQLITE_DETACH</span>; 568 574 </span></dt> 569 575 <dd><p>Database Name NULL … … 571 577 572 578 </dd> 573 <dt><span class="big">const uint <span class="underline">SQLITE_ALTER_TABLE</span>;579 <dt><span class="big">const int <span class="underline">SQLITE_ALTER_TABLE</span>; 574 580 </span></dt> 575 581 <dd><p>Database Name Table Name … … 577 583 578 584 </dd> 579 <dt><span class="big">const uint <span class="underline">SQLITE_REINDEX</span>;585 <dt><span class="big">const int <span class="underline">SQLITE_REINDEX</span>; 580 586 </span></dt> 581 587 <dd><p>Index Name NULL … … 583 589 584 590 </dd> 585 <dt><span class="big">const uint <span class="underline">SQLITE_ANALYZE</span>;591 <dt><span class="big">const int <span class="underline">SQLITE_ANALYZE</span>; 586 592 </span></dt> 587 593 <dd><p>Table Name NULL … … 589 595 590 596 </dd> 591 <dt><span class="big">const uint <span class="underline">SQLITE_CREATE_VTABLE</span>;597 <dt><span class="big">const int <span class="underline">SQLITE_CREATE_VTABLE</span>; 592 598 </span></dt> 593 599 <dd><p>Table Name Module Name … … 595 601 596 602 </dd> 597 <dt><span class="big">const uint <span class="underline">SQLITE_DROP_VTABLE</span>;603 <dt><span class="big">const int <span class="underline">SQLITE_DROP_VTABLE</span>; 598 604 </span></dt> 599 605 <dd><p>Table Name Module Name … … 601 607 602 608 </dd> 603 <dt><span class="big">const uint <span class="underline">SQLITE_INDEX_CONSTRAINT_EQ</span>; 604 </span></dt> 605 <dd><br /><br /> 606 </dd> 607 <dt><span class="big">const uint <span class="underline">SQLITE_INDEX_CONSTRAINT_GT</span>; 608 </span></dt> 609 <dd><br /><br /> 610 </dd> 611 <dt><span class="big">const uint <span class="underline">SQLITE_INDEX_CONSTRAINT_LE</span>; 612 </span></dt> 613 <dd><br /><br /> 614 </dd> 615 <dt><span class="big">const uint <span class="underline">SQLITE_INDEX_CONSTRAINT_LT</span>; 616 </span></dt> 617 <dd><br /><br /> 618 </dd> 619 <dt><span class="big">const uint <span class="underline">SQLITE_INDEX_CONSTRAINT_GE</span>; 620 </span></dt> 621 <dd><br /><br /> 622 </dd> 623 <dt><span class="big">const uint <span class="underline">SQLITE_INDEX_CONSTRAINT_MATCH</span>; 609 <dt><span class="big">const int <span class="underline">SQLITE_FUNCTION</span>; 610 </span></dt> 611 <dd><p>Function Name NULL 612 </p> 613 614 </dd> 615 <dt><span class="big">const int <span class="underline">SQLITE_INDEX_CONSTRAINT_EQ</span>; 616 </span></dt> 617 <dd><br /><br /> 618 </dd> 619 <dt><span class="big">const int <span class="underline">SQLITE_INDEX_CONSTRAINT_GT</span>; 620 </span></dt> 621 <dd><br /><br /> 622 </dd> 623 <dt><span class="big">const int <span class="underline">SQLITE_INDEX_CONSTRAINT_LE</span>; 624 </span></dt> 625 <dd><br /><br /> 626 </dd> 627 <dt><span class="big">const int <span class="underline">SQLITE_INDEX_CONSTRAINT_LT</span>; 628 </span></dt> 629 <dd><br /><br /> 630 </dd> 631 <dt><span class="big">const int <span class="underline">SQLITE_INDEX_CONSTRAINT_GE</span>; 632 </span></dt> 633 <dd><br /><br /> 634 </dd> 635 <dt><span class="big">const int <span class="underline">SQLITE_INDEX_CONSTRAINT_MATCH</span>; 636 </span></dt> 637 <dd><br /><br /> 638 </dd> 639 <dt><span class="big">const int <span class="underline">SQLITE_IOERR_READ</span>; 640 </span></dt> 641 <dd><br /><br /> 642 </dd> 643 <dt><span class="big">const int <span class="underline">SQLITE_IOERR_SHORT_READ</span>; 644 </span></dt> 645 <dd><br /><br /> 646 </dd> 647 <dt><span class="big">const int <span class="underline">SQLITE_IOERR_WRITE</span>; 648 </span></dt> 649 <dd><br /><br /> 650 </dd> 651 <dt><span class="big">const int <span class="underline">SQLITE_IOERR_FSYNC</span>; 652 </span></dt> 653 <dd><br /><br /> 654 </dd> 655 <dt><span class="big">const int <span class="underline">SQLITE_IOERR_DIR_FSYNC</span>; 656 </span></dt> 657 <dd><br /><br /> 658 </dd> 659 <dt><span class="big">const int <span class="underline">SQLITE_IOERR_TRUNCATE</span>; 660 </span></dt> 661 <dd><br /><br /> 662 </dd> 663 <dt><span class="big">const int <span class="underline">SQLITE_IOERR_FSTAT</span>; 664 </span></dt> 665 <dd><br /><br /> 666 </dd> 667 <dt><span class="big">const int <span class="underline">SQLITE_IOERR_UNLOCK</span>; 668 </span></dt> 669 <dd><br /><br /> 670 </dd> 671 <dt><span class="big">const int <span class="underline">SQLITE_IOERR_RDLOCK</span>; 624 672 </span></dt> 625 673 <dd><br /><br /> … … 633 681 <dd><br /><br /> 634 682 </dd> 683 <dt><span class="big">int <span class="underline">sqlite3_auto_extension</span>(void* <em>xEntryPoint</em>); 684 </span></dt> 685 <dd><br /><br /> 686 </dd> 635 687 <dt><span class="big">int <span class="underline">sqlite3_bind_blob</span>(sqlite3_stmt * <em>stmt</em>, int <em>index</em>, void* <em>value</em>, int <em>n</em>, void(* <em>destructor</em>)(void*)); 636 688 </span></dt> … … 857 909 <dd><br /><br /> 858 910 </dd> 911 <dt><span class="big">int <span class="underline">sqlite3_extended_result_codes</span>(sqlite3 * <em>database</em>, int <em>onoff</em>); 912 </span></dt> 913 <dd><br /><br /> 914 </dd> 859 915 <dt><span class="big">int <span class="underline">sqlite3_finalize</span>(sqlite3_stmt * <em>stmt</em>); 860 916 </span></dt> … … 917 973 <dd><br /><br /> 918 974 </dd> 975 <dt><span class="big">int <span class="underline">sqlite3_overload_function</span>(sqlite3 * <em>database</em>, char* <em>zFuncName</em>, int <em>nArg</em>); 976 </span></dt> 977 <dd><br /><br /> 978 </dd> 919 979 <dt><span class="big">int <span class="underline">sqlite3_prepare</span>(sqlite3 * <em>database</em>, char* <em>zSql</em>, int <em>nBytes</em>, sqlite3_stmt ** <em>stmt</em>, char** <em>zTail</em>); 920 980 </span></dt> … … 938 998 </dd> 939 999 <dt><span class="big">int <span class="underline">sqlite3_reset</span>(sqlite3_stmt * <em>stmt</em>); 1000 </span></dt> 1001 <dd><br /><br /> 1002 </dd> 1003 <dt><span class="big">void <span class="underline">sqlite3_reset_auto_extension</span>(); 940 1004 </span></dt> 941 1005 <dd><br /><br />
