add some unit tests for CUBRID

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8456 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
lickawtl 2011-06-07 16:21:55 +00:00
parent d7cf3cb731
commit e41c45433e
10 changed files with 814 additions and 9 deletions

View file

@ -0,0 +1,14 @@
<?php
class Helper {
function cleanQuery($query){
$query = trim(preg_replace('/\s+/', ' ',$query));
$query = str_replace(" , ", ', ', $query);
$query = str_replace("( ", '(', $query);
$query = str_replace(" )", ')', $query);
$query = strtolower($query);
return $query;
}
}
?>