in reply to MySQL DBI an Socket::IO dropping inserts somewhere
If the debug print (print DEBUGFILE "$sqlStatement\n" if $DEBUG;) shows the query as expected (as I'm understanding you), then it's unlikely that the IO::Socket part has anything to do with the problem. In other words, I'd focus on the DB side, and enable tracing to figure out what happens (or doesn't)...
BTW, where are you setting $usingDB? (I suspect it's some global setting, but you don't show where you set it...) In case of doubt, put the debug print within the if ($usingDB) { ... } where the actual submission to the DB is supposed to happen.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: MySQL DBI an Socket::IO dropping inserts somewhere
by whiteonline (Novice) on Oct 17, 2009 at 14:18 UTC |