strtok and functions that do dml against mysql or mssql

strtok and functions that do dml against mysql or mssql

از Troy Williams در
Number of replies: 2

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.. لبخند

Troy

میانگین امتیازات:  -
In reply to Troy Williams

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

از Petr Skoda در
عکس Core developers عکس Documentation writers عکس Particularly helpful Moodlers عکس Peer reviewers عکس Plugin developers
Oh, we should fix this in the next release at least, thanks!