Code Duplication    Length = 4-4 lines in 2 locations

ecrire/req/sqlite_generique.php 2 locations

@@ 2939-2942 (lines=4) @@
2936
		//
2937
		// Correction Create Database
2938
		// Create Database -> requete ignoree
2939
		if (strpos($this->query, 'CREATE DATABASE') === 0) {
2940
			spip_log("Sqlite : requete non executee -> $this->query", 'sqlite.' . _LOG_AVERTISSEMENT);
2941
			$this->query = "SELECT 1";
2942
		}
2943
2944
		// Correction Insert Ignore
2945
		// INSERT IGNORE -> insert (tout court et pas 'insert or replace')
@@ 2946-2949 (lines=4) @@
2943
2944
		// Correction Insert Ignore
2945
		// INSERT IGNORE -> insert (tout court et pas 'insert or replace')
2946
		if (strpos($this->query, 'INSERT IGNORE') === 0) {
2947
			spip_log("Sqlite : requete transformee -> $this->query", 'sqlite.' . _LOG_DEBUG);
2948
			$this->query = 'INSERT ' . substr($this->query, '13');
2949
		}
2950
2951
		// Correction des dates avec INTERVAL
2952
		// utiliser sql_date_proche() de preference