On 2013-09-30 13:20, simendsjo wrote:

Yeah. We need to choose:
1) Starting a new command while another is in flight is an error
    You need to close explicitly if the command isn't finished
2) If another command has been started, it's er error to continue
iteration of a previous command.

I'm in favor of 1).

I would go with one as well.

Yeah. BOOL is an alias for TINYINT(1). I think it's fair to always
assume TINYINT(1) is bool. For other types I'm not quite sure though..
"SELECT 1" is a LONGLONG, but in D a literal is int unless specified
otherwise. So there is a mismatch here.

Use the type in D which has the closets match and have the same length. Type conversions can be made later in a higher level API.

--
/Jacob Carlborg

Reply via email to