1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[feature/sqlite3] Remove unneeded ORDER BY type from sqlite_master queries

PHPBB3-9728
This commit is contained in:
Joas Schilling
2014-05-02 11:10:03 +02:00
parent fd37f63614
commit ae3586869a
2 changed files with 3 additions and 5 deletions

View File

@@ -1081,7 +1081,7 @@ class sqlite3_extractor extends base_extractor
FROM sqlite_master
WHERE type = 'table'
AND name = '" . $db->sql_escape($table_name) . "'
ORDER BY type DESC, name;";
ORDER BY name ASC;";
$result = $db->sql_query($sql);
$row = $db->sql_fetchrow($result);
$db->sql_freeresult($result);