aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/develop/create_schema_files.php
diff options
context:
space:
mode:
authorIgor Wiedler <igor@wiedler.ch>2011-10-14 04:29:28 +0200
committerIgor Wiedler <igor@wiedler.ch>2011-10-14 04:29:28 +0200
commitc3f3435228accc44e2fd8d358c21b81f8ec66d87 (patch)
tree7e9085d28141ae775da5c409393a968edc40c509 /phpBB/develop/create_schema_files.php
parent8cf22f552935417911306cb2830d7522791c9098 (diff)
downloadforums-c3f3435228accc44e2fd8d358c21b81f8ec66d87.tar
forums-c3f3435228accc44e2fd8d358c21b81f8ec66d87.tar.gz
forums-c3f3435228accc44e2fd8d358c21b81f8ec66d87.tar.bz2
forums-c3f3435228accc44e2fd8d358c21b81f8ec66d87.tar.xz
forums-c3f3435228accc44e2fd8d358c21b81f8ec66d87.zip
[ticket/10189] Get rid of $id$ from schema files
PHPBB3-10189
Diffstat (limited to 'phpBB/develop/create_schema_files.php')
-rw-r--r--phpBB/develop/create_schema_files.php17
1 files changed, 1 insertions, 16 deletions
diff --git a/phpBB/develop/create_schema_files.php b/phpBB/develop/create_schema_files.php
index 05acf7177d..9ce5f72922 100644
--- a/phpBB/develop/create_schema_files.php
+++ b/phpBB/develop/create_schema_files.php
@@ -246,6 +246,7 @@ foreach ($supported_dbms as $dbms)
$line = '';
+ // Write Header
switch ($dbms)
{
case 'mysql_40':
@@ -272,37 +273,21 @@ foreach ($supported_dbms as $dbms)
break;
}
- // Write Header
switch ($dbms)
{
- case 'mysql_40':
- case 'mysql_41':
- $line = "#\n# \$I" . "d: $\n#\n\n";
- break;
-
case 'firebird':
- $line = "#\n# \$I" . "d: $\n#\n\n";
$line .= custom_data('firebird') . "\n";
break;
case 'sqlite':
- $line = "#\n# \$I" . "d: $\n#\n\n";
$line .= "BEGIN TRANSACTION;\n\n";
break;
- case 'mssql':
- $line = "/*\n\n \$I" . "d: $\n\n*/\n\n";
- // no need to do this, no transaction support for schema changes
- //$line .= "BEGIN TRANSACTION\nGO\n\n";
- break;
-
case 'oracle':
- $line = "/*\n\n \$I" . "d: $\n\n*/\n\n";
$line .= custom_data('oracle') . "\n";
break;
case 'postgres':
- $line = "/*\n\n \$I" . "d: $\n\n*/\n\n";
$line .= "BEGIN;\n\n";
$line .= custom_data('postgres') . "\n";
break;