Code Duplication    Length = 4-4 lines in 2 locations

ecrire/req/sqlite_generique.php 2 locations

@@ 2259-2262 (lines=4) @@
2256
		//
2257
		// Correction Create Database
2258
		// Create Database -> requete ignoree
2259
		if (strpos($this->query, 'CREATE DATABASE')===0){
2260
			spip_log("Sqlite : requete non executee -> $this->query", 'sqlite.'._LOG_AVERTISSEMENT);
2261
			$this->query = "SELECT 1";
2262
		}
2263
2264
		// Correction Insert Ignore
2265
		// INSERT IGNORE -> insert (tout court et pas 'insert or replace')
@@ 2266-2269 (lines=4) @@
2263
2264
		// Correction Insert Ignore
2265
		// INSERT IGNORE -> insert (tout court et pas 'insert or replace')
2266
		if (strpos($this->query, 'INSERT IGNORE')===0){
2267
			spip_log("Sqlite : requete transformee -> $this->query", 'sqlite.'._LOG_DEBUG);
2268
			$this->query = 'INSERT '.substr($this->query, '13');
2269
		}
2270
2271
		// Correction des dates avec INTERVAL
2272
		// utiliser sql_date_proche() de preference