]> granicus.if.org Git - php/commitdiff
add missing ifdef
authorAntony Dovgal <tony2001@php.net>
Wed, 4 Oct 2006 13:02:36 +0000 (13:02 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 4 Oct 2006 13:02:36 +0000 (13:02 +0000)
ext/pdo_sqlite/sqlite/src/vdbeaux.c

index 35bf07f42264cf454a86b2acfa4f7237e14d7559..c71c8f4ea6df7c749b663bb6d5ca46c8b0e47d3f 100644 (file)
@@ -1581,7 +1581,9 @@ void sqlite3VdbeDelete(Vdbe *p){
 int sqlite3VdbeCursorMoveto(Cursor *p){
   if( p->deferredMoveto ){
     int res, rc;
+#ifdef SQLITE_TEST
     extern int sqlite3_search_count;
+#endif
     assert( p->isTable );
     if( p->isTable ){
       rc = sqlite3BtreeMoveto(p->pCursor, 0, p->movetoTarget, &res);