01.04.2016, 19:17
How to substitute native mysql_format for formatex without lost the mysql log. I see the include, maybe this?
But i not understand completely emit, and i lost others address.
Slice, your releases are awesome.
PHP код:
stock mysql_formatex(connectionHandle, szOutput[], iLength = sizeof(szOutput), const szFormatString[], GLOBAL_TAG_TYPES:...) {
... Same Codes
// New format specifier
#emit PUSH.C s_szBuffer
// Max length
#emit PUSH.S iLength
// Output string
#emit PUSH.S szOutput
// Handle
#emit PUSH.S connectionHandle
// Argument count
#emit LOAD.S.pri iArgCount
#emit SHL.C.pri 2
#emit ADD.C 16
#emit PUSH.pri
// Save the argument count for later
#emit MOVE.alt
// Call format (duh)
#emit SYSREQ.C mysql_format
... Same More codes
Slice, your releases are awesome.