strtok and functions that do dml against mysql or mssql

strtok and functions that do dml against mysql or mssql

by Troy Williams -
Number of replies: 2
Picture of Plugin developers

Hi all,

Just a warning, think twice about using strtok and making dml calls against a mysql db. emulate_bound_params will reset your token. I came across when writing script to process a file of records and calling a inhouse logger function that inserted a record and wiped my token. The funny thing is I usually just use a file handle rather than getting whole file contents. Haha + our production box is postgres. Oh well.. smile

Troy

Average of ratings: -
In reply to Troy Williams

Re: strtok and functions that do dml against mysql or mssql

by Petr Skoda -
Picture of Core developers Picture of Documentation writers Picture of Peer reviewers Picture of Plugin developers
Oh, we should fix this in the next release at least, thanks!