If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > MySQL > MySQL source code - intercepting user queries

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-02-04, 21:41
padm2016 padm2016 is offline
Registered User
 
Join Date: Oct 2003
Posts: 16
MySQL source code - intercepting user queries

Hello,

Im using MySQL for implementing our research techniques and Im pretty new to MySQL's source code.

I would like to know the "function" in the source code from where I would be able to intercept all the user queries.

For ex, when the user types

mysql> begin;use test;select * from students;commit;

Im not able to intercept the entire user transaction in a single variable. (Ex. char *packet).

this variable only has a value "begin" initially and then has a value "use test" and so on.

Guys who are working on MySQL source code, please let me know the place where I could intercept the entire transaction in a single variable.

Thanks so much,
Student
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On