Branch: Tag:

2016-03-27

2016-03-27 14:56:33 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Mysql: Moved and renamed Mysql.mysql_result to Mysql.mysql.Result.

This is in preparation for allowing overloading of the Result class.

739:    } \    return res;    - Mysql.mysql_result big_query (string query, + Result big_query (string query,    mapping(string|int:mixed)|void bindings,    void|string charset)   //! Sends a query to the server.
766:   //! inserts) where you want to avoid the query parsing overhead.   //!   //! @returns - //! A @[Mysql.mysql_result] object is returned if the query is of a + //! A @[Result] object is returned if the query is of a   //! kind that returns a result. Zero is returned otherwise.   //!   //! The individual fields are returned as strings except for @tt{NULL@},
778:    QUERY_BODY (big_query);   }    - Mysql.mysql_result streaming_query (string query, + Result streaming_query (string query,    mapping(string|int:mixed)|void bindings,    void|string charset)   //! Makes a streaming SQL query.   //!   //! This function sends the SQL query @[query] to the Mysql-server.   //! The result of the query is streamed through the returned - //! @[Mysql.mysql_result] object. Note that the involved database + //! @[Result] object. Note that the involved database   //! tables are locked until all the results has been read.   //!   //! In all other respects, it behaves like @[big_query].
796:    QUERY_BODY (streaming_query);   }    - Mysql.mysql_result big_typed_query (string query, + Result big_typed_query (string query,    mapping(string|int:mixed)|void bindings,    void|string charset)   //! Makes a typed SQL query.
814:    QUERY_BODY (big_typed_query);   }    - Mysql.mysql_result streaming_typed_query (string query, + Result streaming_typed_query (string query,    mapping(string|int:mixed)|void bindings,    void|string charset)   //! Makes a streaming typed SQL query.