mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-09 03:32:00 +09:00
Issue 2544: Show error on wrong update query
git-svn-id: http://xe-core.googlecode.com/svn/branches/luminous@11570 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
05e1a63795
commit
7715110097
3 changed files with 3 additions and 3 deletions
|
|
@ -455,7 +455,7 @@
|
|||
|
||||
if ($notnull) $query .= "not null ";
|
||||
|
||||
$this->_query ($query);
|
||||
return $this->_query ($query);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -310,7 +310,7 @@
|
|||
if($default) $query .= sprintf(" default '%s' ", $default);
|
||||
if($notnull) $query .= " not null ";
|
||||
|
||||
$this->_query($query);
|
||||
return $this->_query($query);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ class DBMysql extends DB {
|
|||
if($default) $query .= sprintf(" default '%s' ", $default);
|
||||
if($notnull) $query .= " not null ";
|
||||
|
||||
$this->_query($query);
|
||||
return $this->_query($query);
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue