Subversion Repositories oidplus

Compare Revisions

No changes between revisions

Regard whitespace Rev 1243 → Rev 1244

/trunk/setup/sql/wellknown_other_pgsql.sql
File deleted
/trunk/setup/sql/wellknown_other_firebird.sql
File deleted
/trunk/setup/sql/wellknown_country_oracle.sql
File deleted
/trunk/setup/sql/wellknown_country_mysql.sql
Cannot display: file marked as a binary type.
svn:mime-type = application/x-sql
Property changes:
Deleted: svn:mime-type
-application/x-sql
\ No newline at end of property
/trunk/setup/sql/struct_firebird.sql
File deleted
/trunk/setup/sql/struct_pgsql.sql
File deleted
/trunk/setup/sql/wellknown_other_mssql.sql
File deleted
/trunk/setup/sql/example_pgsql.sql
File deleted
/trunk/setup/sql/example_firebird.sql
File deleted
/trunk/setup/sql/wellknown_other_sqlite.sql
File deleted
/trunk/setup/sql/wellknown_other_access.sql
File deleted
/trunk/setup/sql/struct_mssql.sql
File deleted
/trunk/setup/sql/struct_sqlite.sql
File deleted
/trunk/setup/sql/struct_access.sql
File deleted
/trunk/setup/sql/wellknown_other_mysql.sql
Cannot display: file marked as a binary type.
svn:mime-type = application/x-sql
Property changes:
Deleted: svn:mime-type
-application/x-sql
\ No newline at end of property
/trunk/setup/sql/wellknown_other_oracle.sql
File deleted
/trunk/setup/sql/struct_oracle.sql
File deleted
/trunk/setup/sql/wellknown_country_pgsql.sql
File deleted
/trunk/setup/sql/wellknown_country_firebird.sql
File deleted
/trunk/setup/sql/struct_mysql.sql
Cannot display: file marked as a binary type.
svn:mime-type = application/x-sql
Property changes:
Deleted: svn:mime-type
-application/x-sql
\ No newline at end of property
/trunk/setup/sql/example_mssql.sql
File deleted
/trunk/setup/sql/example_sqlite.sql
File deleted
/trunk/setup/sql/example_access.sql
File deleted
/trunk/setup/sql/example_mysql.sql
Cannot display: file marked as a binary type.
svn:mime-type = application/x-sql
Property changes:
Deleted: svn:mime-type
-application/x-sql
\ No newline at end of property
/trunk/setup/sql/example_oracle.sql
File deleted
/trunk/setup/sql/wellknown_country_mssql.sql
File deleted
/trunk/setup/sql/wellknown_country_access.sql
File deleted
/trunk/setup/sql/wellknown_country_sqlite.sql
File deleted
/trunk/setup/struct_empty.sql.php
28,19 → 28,21
 
OIDplus::registerAllPlugins('sqlSlang', OIDplusSqlSlangPlugin::class, array(OIDplus::class,'registerSqlSlangPlugin'));
$slang_plugin = null;
$slang_dir = '';
foreach (OIDplus::getSqlSlangPlugins() as $plugin) {
if ($plugin::id() === $slang) {
$slang_plugin = $plugin;
$slang_dir = $plugin->getPluginDirectory();
break;
}
}
if (is_null($slang_plugin)) {
die(_L('Unknown slang'));
die(_L('Unknown SQL slang "%1"',$slang));
}
 
$cont = trim(file_get_contents(__DIR__.'/sql/struct_'.$slang.'.sql'))."\n\n".
trim(file_get_contents(__DIR__.'/sql/wellknown_country_'.$slang.'.sql'))."\n\n".
trim(file_get_contents(__DIR__.'/sql/wellknown_other_'.$slang.'.sql'))."\n\n";
$cont = trim(file_get_contents($slang_dir.'/sql/struct.sql'))."\n\n".
trim(file_get_contents($slang_dir.'/sql/wellknown_country.sql'))."\n\n".
trim(file_get_contents($slang_dir.'/sql/wellknown_other.sql'))."\n\n";
 
$table_names = array('objects', 'asn1id', 'iri', 'ra', 'config', 'log', 'log_user', 'log_object');
foreach ($table_names as $table) {
/trunk/setup/struct_with_examples.sql.php
28,20 → 28,22
 
OIDplus::registerAllPlugins('sqlSlang', OIDplusSqlSlangPlugin::class, array(OIDplus::class,'registerSqlSlangPlugin'));
$slang_plugin = null;
$slang_dir = '';
foreach (OIDplus::getSqlSlangPlugins() as $plugin) {
if ($plugin::id() === $slang) {
$slang_plugin = $plugin;
$slang_dir = $plugin->getPluginDirectory();
break;
}
}
if (is_null($slang_plugin)) {
die(_L('Unknown slang'));
die(_L('Unknown SQL slang "%1"',$slang));
}
 
$cont = trim(file_get_contents(__DIR__.'/sql/struct_'.$slang.'.sql'))."\n\n".
trim(file_get_contents(__DIR__.'/sql/wellknown_country_'.$slang.'.sql'))."\n\n".
trim(file_get_contents(__DIR__.'/sql/wellknown_other_'.$slang.'.sql'))."\n\n".
trim(file_get_contents(__DIR__.'/sql/example_'.$slang.'.sql'))."\n\n";
$cont = trim(file_get_contents($slang_dir.'/sql/struct.sql'))."\n\n".
trim(file_get_contents($slang_dir.'/sql/wellknown_country.sql'))."\n\n".
trim(file_get_contents($slang_dir.'/sql/wellknown_other.sql'))."\n\n".
trim(file_get_contents($slang_dir.'/sql/example.sql'))."\n\n";
 
$table_names = array('objects', 'asn1id', 'iri', 'ra', 'config', 'log', 'log_user', 'log_object');
foreach ($table_names as $table) {