mirror of
				https://github.com/sqlite/sqlite.git
				synced 2025-11-03 16:53:36 +03:00 
			
		
		
		
	Move the test_spellfix.c module to ext/misc/spellfix.c.
FossilOrigin-Name: de556add10150140981a2e34b3712e96a7c262e3
This commit is contained in:
		
							
								
								
									
										12
									
								
								src/shell.c
									
									
									
									
									
								
							
							
						
						
									
										12
									
								
								src/shell.c
									
									
									
									
									
								
							@@ -1480,18 +1480,6 @@ static void open_db(struct callback_data *p){
 | 
			
		||||
    }
 | 
			
		||||
#ifndef SQLITE_OMIT_LOAD_EXTENSION
 | 
			
		||||
    sqlite3_enable_load_extension(p->db, 1);
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef SQLITE_ENABLE_REGEXP
 | 
			
		||||
    {
 | 
			
		||||
      extern int sqlite3_add_regexp_func(sqlite3*);
 | 
			
		||||
      sqlite3_add_regexp_func(db);
 | 
			
		||||
    }
 | 
			
		||||
#endif
 | 
			
		||||
#ifdef SQLITE_ENABLE_SPELLFIX
 | 
			
		||||
    {
 | 
			
		||||
      extern int sqlite3_spellfix1_register(sqlite3*);
 | 
			
		||||
      sqlite3_spellfix1_register(db);
 | 
			
		||||
    }
 | 
			
		||||
#endif
 | 
			
		||||
  }
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user