odbc: convert string to alien in odbc-prepare
parent
667727bf0c
commit
f72f116364
|
@ -154,7 +154,8 @@ PRIVATE>
|
|||
SQLDisconnect succeeded? [ "odbc-disconnect failed" throw ] unless ;
|
||||
|
||||
: odbc-prepare ( dbc string -- statement )
|
||||
[ alloc-stmt-handle dup ] dip dup length SQLPrepare
|
||||
[ alloc-stmt-handle dup ] dip ascii string>alien
|
||||
dup length SQLPrepare
|
||||
succeeded? [ "odbc-prepare failed" throw ] unless ;
|
||||
|
||||
: odbc-free-statement ( statement -- )
|
||||
|
|
Loading…
Reference in New Issue