white space fixes for Class DB IO
This commit is contained in:
@@ -324,7 +324,7 @@
|
|||||||
|
|
||||||
// set loop protection max count
|
// set loop protection max count
|
||||||
$this->MAX_QUERY_CALL = 20;
|
$this->MAX_QUERY_CALL = 20;
|
||||||
|
|
||||||
// error & debug stuff, error & warning ids are the same, its just in which var they get written
|
// error & debug stuff, error & warning ids are the same, its just in which var they get written
|
||||||
$this->error_string['11'] = 'No Querystring given';
|
$this->error_string['11'] = 'No Querystring given';
|
||||||
$this->error_string['12'] = 'No Cursor given, no correct query perhaps?';
|
$this->error_string['12'] = 'No Cursor given, no correct query perhaps?';
|
||||||
@@ -366,7 +366,7 @@
|
|||||||
$this->_db_error();
|
$this->_db_error();
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->class_info['db_io']=array(
|
$this->class_info['db_io']=array(
|
||||||
'class_name' => 'DB IO',
|
'class_name' => 'DB IO',
|
||||||
'class_version' => '4.1.0',
|
'class_version' => '4.1.0',
|
||||||
@@ -1029,7 +1029,7 @@
|
|||||||
$this->cursor_ext[$md5]['firstcall'] = 1;
|
$this->cursor_ext[$md5]['firstcall'] = 1;
|
||||||
}
|
}
|
||||||
} // only go if NO cursor exists
|
} // only go if NO cursor exists
|
||||||
|
|
||||||
// if cursor exists ...
|
// if cursor exists ...
|
||||||
if ($this->cursor_ext[$md5]['cursor'])
|
if ($this->cursor_ext[$md5]['cursor'])
|
||||||
{
|
{
|
||||||
@@ -1164,7 +1164,7 @@
|
|||||||
else
|
else
|
||||||
return $this->cursor;
|
return $this->cursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
// METHOD db_exec_async
|
// METHOD db_exec_async
|
||||||
// PARAMS query -> query to run
|
// PARAMS query -> query to run
|
||||||
// pk_name -> optional primary key name, only used with insert for returning call
|
// pk_name -> optional primary key name, only used with insert for returning call
|
||||||
@@ -1248,7 +1248,7 @@
|
|||||||
}
|
}
|
||||||
return $this->_db_convert_encoding($this->db_functions->_db_fetch_array($cursor));
|
return $this->_db_convert_encoding($this->db_functions->_db_fetch_array($cursor));
|
||||||
}
|
}
|
||||||
|
|
||||||
// METHOD db_return_row
|
// METHOD db_return_row
|
||||||
// PARAMS query -> the query to be executed
|
// PARAMS query -> the query to be executed
|
||||||
// RETURN mixed db result
|
// RETURN mixed db result
|
||||||
@@ -1563,7 +1563,7 @@ $this->debug('ExecuteData', 'ERROR in STM['.$stm_name.'|'.$this->prepare_cursor[
|
|||||||
{
|
{
|
||||||
return $this->db_functions->_db_escape_string($string);
|
return $this->db_functions->_db_escape_string($string);
|
||||||
}
|
}
|
||||||
|
|
||||||
// METHOD db_escape_bytea
|
// METHOD db_escape_bytea
|
||||||
// PARAMS $bytea -> bytea to escape
|
// PARAMS $bytea -> bytea to escape
|
||||||
// RETURN escaped bytea
|
// RETURN escaped bytea
|
||||||
@@ -1678,7 +1678,7 @@ $this->debug('ExecuteData', 'ERROR in STM['.$stm_name.'|'.$this->prepare_cursor[
|
|||||||
$not_write_update_array = array ();
|
$not_write_update_array = array ();
|
||||||
return $this->db_write_data_ext($write_array, $primary_key, $table, $not_write_array, $not_write_update_array, $data);
|
return $this->db_write_data_ext($write_array, $primary_key, $table, $not_write_array, $not_write_update_array, $data);
|
||||||
}
|
}
|
||||||
|
|
||||||
// METHOD: db_write_data_ext
|
// METHOD: db_write_data_ext
|
||||||
// PARAMS: write_array -> list of elements to write
|
// PARAMS: write_array -> list of elements to write
|
||||||
// primary_key -> id key to decide if we write insert or update
|
// primary_key -> id key to decide if we write insert or update
|
||||||
|
|||||||
Reference in New Issue
Block a user