1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-08-09 10:16:36 +02:00

MSSQL works properly with SQL update related tools

git-svn-id: file:///svn/phpbb/trunk@8198 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
David M
2007-10-16 14:59:39 +00:00
parent 83251720de
commit aee82d3a30
3 changed files with 8 additions and 2 deletions

View File

@@ -500,7 +500,7 @@ class phpbb_db_tools
case 'mssql':
$sql = "SELECT c.name
FROM syscolumns c
LEFT JOIN sysobjects o (ON c.id = o.id)
LEFT JOIN sysobjects o ON c.id = o.id
WHERE o.name = '{$table}'";
$result = $this->db->sql_query($sql);
while ($row = $this->db->sql_fetchrow($result))