mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
mysql: connection fixes (#18428)
This commit is contained in:
committed by
GitHub
parent
7f178d4662
commit
f634f7b01f
@@ -77,7 +77,7 @@ pub fn (s &Stmt) str() string {
|
||||
}
|
||||
|
||||
// init_stmt creates a new statement, given the `query`.
|
||||
pub fn (db Connection) init_stmt(query string) Stmt {
|
||||
pub fn (db DB) init_stmt(query string) Stmt {
|
||||
return Stmt{
|
||||
stmt: C.mysql_stmt_init(db.conn)
|
||||
query: query
|
||||
|
||||
Reference in New Issue
Block a user