Fixed some query escaping issues
This commit is contained in:
parent
10773e5a1e
commit
774ee1f74a
@ -138,9 +138,9 @@ class firebird {
|
||||
function get_tables()
|
||||
{
|
||||
$sql = <<<SQL
|
||||
SELECT "RDB$RELATION_NAME" FROM "RDB$RELATIONS"
|
||||
WHERE "RDB$RELATION_NAME" NOT LIKE 'RDB$%'
|
||||
AND "RDB$RELATION_NAME" NOT LIKE 'MON$%'
|
||||
SELECT "RDB\$RELATION_NAME" FROM "RDB\$RELATIONS"
|
||||
WHERE "RDB\$RELATION_NAME" NOT LIKE 'RDB$%'
|
||||
AND "RDB\$RELATION_NAME" NOT LIKE 'MON$%'
|
||||
SQL;
|
||||
|
||||
$this->statement = $this->query($sql);
|
||||
@ -163,9 +163,9 @@ SQL;
|
||||
function get_system_tables()
|
||||
{
|
||||
$sql = <<<SQL
|
||||
SELECT "RDB$RELATION_NAME" FROM "RDB$RELATIONS"
|
||||
WHERE "RDB$RELATION_NAME" LIKE 'RDB$%'
|
||||
OR "RDB$RELATION_NAME" LIKE 'MON$%';
|
||||
SELECT "RDB\$RELATION_NAME" FROM "RDB\$RELATIONS"
|
||||
WHERE "RDB\$RELATION_NAME" LIKE 'RDB$%'
|
||||
OR "RDB\$RELATION_NAME" LIKE 'MON$%';
|
||||
SQL;
|
||||
|
||||
$this->statement = $this->query($sql);
|
||||
|
Loading…
Reference in New Issue
Block a user