DBMssql class - working version of XE with SQL Server.

git-svn-id: http://xe-core.googlecode.com/svn/branches/1.5.0-DB@8535 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
ucorina 2011-06-23 16:04:46 +00:00
parent 33c0923009
commit 763fc6d56b
5 changed files with 97 additions and 30 deletions

View file

@ -204,12 +204,14 @@
$this->arguments = array();
// Column arguments
foreach($this->columns as $column){
if($column->show()){
$arg = $column->getArgument();
if($arg) $this->arguments[] = $arg;
}
}
if(count($this->columns) > 0){ // The if is for delete statements, all others must have columns
foreach($this->columns as $column){
if($column->show()){
$arg = $column->getArgument();
if($arg) $this->arguments[] = $arg;
}
}
}
// Condition arguments
if(count($this->conditions) > 0)