-
Notifications
You must be signed in to change notification settings - Fork 58
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Prepare(Mysql C API) #4
Comments
gave me code, thanks |
i am coding for deal prepare-statement sql |
code:#include <stdio.h> #define INSERT_SQL "insert void main(int argc, char *_argv)
} |
@alex-hsl i finished code for prepare-statment, i am tesing, thank you for issue. |
bug fix, please test |
test new code, mysqlpcap show the error.I don't change the test code above. mysqlpcap: protocol.c:338: store_param_datetime: Assertion `(length == 11) || (length == 4)' failed. |
tanks, let me chek again |
@alex-hsl 你的这个例子有点问题,表本身不存在,所以 stmt_id 返回的是 0。 |
@alex-hsl 提交修复了,你再看看~~~ |
I use 'prepare '(mysql c api) to insert/update/delete the sql, but the sql column of the result from tcpcollect contain garbled character.
The text was updated successfully, but these errors were encountered: