Skip to content
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

显示 db 的信息 #29

Closed
hoterran opened this issue Jan 4, 2013 · 2 comments
Closed

显示 db 的信息 #29

hoterran opened this issue Jan 4, 2013 · 2 comments
Assignees

Comments

@hoterran
Copy link
Owner

hoterran commented Jan 4, 2013

注意要注意 COM_INITDB 等命令对 db 的切换。

@ghost ghost assigned hoterran Jan 4, 2013
@hoterran hoterran reopened this Jan 5, 2013
@hoterran
Copy link
Owner Author

hoterran commented Jan 5, 2013

有发现一个问题 is_sql 里 db 的位置不对,应该是skip user,skip salt

@hoterran
Copy link
Owner Author

hoterran commented Jan 6, 2013

依然有一些问题.
1.

对于命令行里的 use test,是 COM_INITDB
c api 里的mysql_select_db 也是 COM_INITDB,但少了 select databases() 命令

mysql_query 里的 use test 是 COM_QUERY 这个目前没有处理

对于 COM_INITDB 发现后直接切换数据,没有判断返回 packet 是 ok 还是 error.

这两点需要修改.

hoterran added a commit that referenced this issue Jan 6, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant