Browse Source

Fix #4374 : traduire a la volee le current_timestamp() introduit par MariaDB mais que SQlite ne connait pas (b_b et marcimat)

pull/125/head
Cerdic 2 months ago
parent
commit
7a30fed7bb
  1. 1
      ecrire/req/sqlite_generique.php

1
ecrire/req/sqlite_generique.php

@ -2424,6 +2424,7 @@ function _sqlite_remplacements_definitions_table($query, $autoinc = false) {
'/COLLATE \w+_bin/is' => 'COLLATE BINARY',
'/COLLATE \w+_ci/is' => 'COLLATE NOCASE',
'/auto_increment/is' => '',
'/current_timestamp\(\)/is' => 'CURRENT_TIMESTAMP', // Fix export depuis mariaDB #4374
'/(timestamp .* )ON .*$/is' => '\\1',
'/character set \w+/is' => '',
'/((big|small|medium|tiny)?int(eger)?)' . $num . '\s*unsigned/is' => '\\1 UNSIGNED',

Loading…
Cancel
Save