Overview
Features
Download
Documentation
Community
Add-Ons & Services

Can I get mysql's Execute part of general_log from Poco?

Please post support and help requests here.

Can I get mysql's Execute part of general_log from Poco?

Postby lihui7115 » 21 Feb 2013, 09:32

Hi,all
I want to print my sql statement included real parameter(not '?'),
--such as the general_log's file of mysql:
1 Execute SELECT Count(*) from People WHERE id='test'

How to do?
lihui7115
 
Posts: 3
Joined: 26 Jul 2012, 11:59

Re: Can I get mysql's Execute part of general_log from Poco?

Postby alex » 21 Feb 2013, 11:15

I don't think MySQL connector supports it currently. ODBC connector has it through nativeSQL() call; if you want to contribute similar thing for MySQL connector, fork it on GitHub, write the code/test and send back pull request.
alex
 
Posts: 1146
Joined: 11 Jul 2006, 16:27
Location: United_States


Return to Support

Who is online

Users browsing this forum: No registered users and 1 guest

cron