mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-08 03:01:43 +09:00
git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8600 201d5d3c-b55e-5fd7-737f-ddc643e51545
29 lines
691 B
PHP
29 lines
691 B
PHP
<?php
|
|
|
|
/**
|
|
* Base class for tests for CUBRID SQL syntax
|
|
*/
|
|
|
|
class CubridTest extends DBTest {
|
|
|
|
/**
|
|
* Prepare runtime context - tell DB class that current DB is CUBRID
|
|
*/
|
|
protected function setUp() {
|
|
$oContext = &Context::getInstance();
|
|
|
|
$db_info->db_type = 'cubrid';
|
|
$db_info->db_table_prefix = 'xe';
|
|
|
|
$oContext->setDbInfo($db_info);
|
|
}
|
|
|
|
/**
|
|
* Free resources - reset static DB and QueryParser
|
|
*/
|
|
protected function tearDown() {
|
|
unset($GLOBALS['__DB__']);
|
|
XmlQueryParser::setDBParser(null);
|
|
}
|
|
}
|
|
?>
|