Skip to content
Browse files

[mysql] some preparations for prepared statements

  • Loading branch information...
1 parent 29717ac commit 385fb81cb1cbff1c970486c43f4ad18e811bc0d9 @moritz moritz committed Apr 22, 2012
Showing with 10 additions and 0 deletions.
  1. +10 −0 lib/DBDish/mysql.pm6
View
10 lib/DBDish/mysql.pm6
@@ -112,6 +112,16 @@ sub mysql_warning_count( OpaquePointer $mysql_client )
is native('libmysqlclient')
{ * }
+sub mysql_stmt_init( OpaquePointer $mysql_client )
+ returns OpaquePointer
+ is native('libmysqlclient')
+ { * }
+
+sub mysql_stmt_prepare( OpaquePointer $mysql_stmt, Str, Int $length )
+ returns OpaquePointer
+ is native('libmysqlclient')
+ { * }
+
#-----------------------------------------------------------------------
class DBDish::mysql::StatementHandle does DBDish::StatementHandle {

0 comments on commit 385fb81

Please sign in to comment.
Something went wrong with that request. Please try again.