OLD | NEW |
1 /* | 1 /* |
2 ** 2015-08-18 | 2 ** 2015-08-18 |
3 ** | 3 ** |
4 ** The author disclaims copyright to this source code. In place of | 4 ** The author disclaims copyright to this source code. In place of |
5 ** a legal notice, here is a blessing: | 5 ** a legal notice, here is a blessing: |
6 ** | 6 ** |
7 ** May you do good and not evil. | 7 ** May you do good and not evil. |
8 ** May you find forgiveness for yourself and forgive others. | 8 ** May you find forgiveness for yourself and forgive others. |
9 ** May you share freely, never taking more than you give. | 9 ** May you share freely, never taking more than you give. |
10 ** | 10 ** |
(...skipping 385 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
396 #ifndef SQLITE_OMIT_VIRTUALTABLE | 396 #ifndef SQLITE_OMIT_VIRTUALTABLE |
397 if( sqlite3_libversion_number()<3008012 ){ | 397 if( sqlite3_libversion_number()<3008012 ){ |
398 *pzErrMsg = sqlite3_mprintf( | 398 *pzErrMsg = sqlite3_mprintf( |
399 "generate_series() requires SQLite 3.8.12 or later"); | 399 "generate_series() requires SQLite 3.8.12 or later"); |
400 return SQLITE_ERROR; | 400 return SQLITE_ERROR; |
401 } | 401 } |
402 rc = sqlite3_create_module(db, "generate_series", &seriesModule, 0); | 402 rc = sqlite3_create_module(db, "generate_series", &seriesModule, 0); |
403 #endif | 403 #endif |
404 return rc; | 404 return rc; |
405 } | 405 } |
OLD | NEW |