aboutsummaryrefslogtreecommitdiff
path: root/src/test_intarray.c
diff options
context:
space:
mode:
authordrh <drh@noemail.net>2018-10-31 18:24:29 +0000
committerdrh <drh@noemail.net>2018-10-31 18:24:29 +0000
commitf8181eaa20cba608a7d02f41368abee21dccbe84 (patch)
tree73233643c11a0702690cb72be34c00cc53127555 /src/test_intarray.c
parent05209e902195404e214700246798d7eff12897ab (diff)
downloadsqlite-f8181eaa20cba608a7d02f41368abee21dccbe84.tar.gz
sqlite-f8181eaa20cba608a7d02f41368abee21dccbe84.zip
Tweaks to the test_intarray documentation and tests.
FossilOrigin-Name: 7107f0dacf4467430d1ca157cb848dde984e48e529e7d67a88b7594b0f8159c9
Diffstat (limited to 'src/test_intarray.c')
-rw-r--r--src/test_intarray.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/test_intarray.c b/src/test_intarray.c
index ddfb13fe2..8c74a0415 100644
--- a/src/test_intarray.c
+++ b/src/test_intarray.c
@@ -13,6 +13,10 @@
** This file implements a read-only VIRTUAL TABLE that contains the
** content of a C-language array of integer values. See the corresponding
** header file for full details.
+**
+** This virtual table is used for internal testing of SQLite only. It is
+** not recommended for use in production. For a similar virtual table that
+** is production-ready, see the "carray" virtual table over in ext/misc.
*/
#include "test_intarray.h"
#include <string.h>
@@ -315,7 +319,6 @@ static int SQLITE_TCLAPI test_intarray_create(
rc = sqlite3_intarray_create(db, zName, &pArray);
#endif
if( rc!=SQLITE_OK ){
- assert( pArray==0 );
Tcl_AppendResult(interp, sqlite3ErrName(rc), (char*)0);
return TCL_ERROR;
}