Add long hash to Hash class, switch DB IO from md5
Add a new long hash type and uniq id long hash. Also set the default hash (short) and hash long to a public constant Switch all DB IO from md5 to long hash type so we can easy update hashing of queries
This commit is contained in:
@@ -256,6 +256,20 @@ $query = "SELECT invalid FROM invalid";
|
||||
$data = $db->dbReturnArray($query);
|
||||
print "ERROR (HARD ERROR): <pre>" . print_r($db->dbGetErrorHistory(true), true) . "</pre><br>";
|
||||
|
||||
/*
|
||||
set error id in
|
||||
dbPrepare
|
||||
dbExecute
|
||||
dbExecAsync
|
||||
dbWriteDataExt
|
||||
dbReturnArray
|
||||
dbReturnRow
|
||||
dbFetchArray (?)
|
||||
dbExec (if not set before)
|
||||
dbReturn
|
||||
dbShowTableMetaData
|
||||
*/
|
||||
|
||||
// how to handle HARD errors
|
||||
|
||||
# async test queries
|
||||
|
||||
Reference in New Issue
Block a user