description for session/log id define, better error check for no pk id

PK ID return check if not set is checked correctly in normal execute
The SET_SESSION_NAME and LOG_FILE_ID get commented out in settings as
they should be rather set per file or in header
This commit is contained in:
Clemens Schwaighofer
2018-04-24 10:04:51 +09:00
parent 3400902241
commit 0f483a2d20
2 changed files with 4 additions and 4 deletions

View File

@@ -1497,7 +1497,7 @@ class IO extends \CoreLibs\Basic
} elseif ($this->insert_id[0][$this->prepare_cursor[$stm_name]['pk_name']]) {
$this->insert_id = $this->insert_id[0][$this->prepare_cursor[$stm_name]['pk_name']];
}
} else {
} elseif (count($this->insert_id) == 0) {
// failed to get insert id
$this->insert_id = '';
$this->warning_id = 33;