mirror of
https://github.com/vlang/v.git
synced 2025-09-15 07:22:27 +03:00
db: increase db module level in vlib
This commit is contained in:
parent
fb4f7b6827
commit
cd6d175180
17 changed files with 34 additions and 37 deletions
|
@ -1,16 +0,0 @@
|
|||
module mysql
|
||||
|
||||
fn get_error_msg(conn &MYSQL) string {
|
||||
return string(mysql_error(conn))
|
||||
}
|
||||
|
||||
fn get_errno(conn &MYSQL) int {
|
||||
return mysql_errno(conn)
|
||||
}
|
||||
|
||||
fn resolve_nil_str(ptr byteptr) string {
|
||||
if isnil(ptr) {
|
||||
return ''
|
||||
}
|
||||
return string(ptr)
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue