forked from GithubBackups/tinyib
Only use PostgreSQL queries when using PDO
This commit is contained in:
parent
629c4a3417
commit
e15cbedc8e
@ -3,7 +3,7 @@ if (!defined('TINYIB_BOARD')) {
|
|||||||
die('');
|
die('');
|
||||||
}
|
}
|
||||||
|
|
||||||
if (TINYIB_DBDRIVER === 'pgsql') {
|
if (TINYIB_DBMODE == 'pdo' && TINYIB_DBDRIVER == 'pgsql') {
|
||||||
$posts_sql = 'CREATE TABLE "' . TINYIB_DBPOSTS . '" (
|
$posts_sql = 'CREATE TABLE "' . TINYIB_DBPOSTS . '" (
|
||||||
"id" bigserial NOT NULL,
|
"id" bigserial NOT NULL,
|
||||||
"parent" integer NOT NULL,
|
"parent" integer NOT NULL,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user