mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
mysql: update code & add a feature to get value as map
This commit is contained in:

committed by
GitHub

parent
f27fd63f8c
commit
23df9b052e
@ -1,11 +1,11 @@
|
||||
module mysql
|
||||
|
||||
fn get_error_msg(conn &MYSQL) string {
|
||||
return string(mysql_error(conn))
|
||||
fn get_error_msg(conn &C.MYSQL) string {
|
||||
return string(C.mysql_error(conn))
|
||||
}
|
||||
|
||||
fn get_errno(conn &MYSQL) int {
|
||||
return mysql_errno(conn)
|
||||
fn get_errno(conn &C.MYSQL) int {
|
||||
return C.mysql_errno(conn)
|
||||
}
|
||||
|
||||
fn resolve_nil_str(ptr byteptr) string {
|
||||
|
Reference in New Issue
Block a user