Commit Graph

142 Commits

Author SHA1 Message Date
Brian Lopez 31c0255451 add do_mysql to benchmarks 2010-04-03 16:47:25 -07:00
Brian Lopez b820100249 add Mysql2::Client#info and Mysql2::Client#server_info methods 2010-04-03 12:15:16 -07:00
Brian Lopez 0128ad0e13 some notes about escape benchmark 2010-04-03 01:45:41 -07:00
Brian Lopez 677c309963 compare length of original and escaped string, if they match return the original 2010-04-03 01:42:15 -07:00
Brian Lopez 1b9e35712f add support for setting MYSQL_OPT_CONNECT_TIMEOUT setting 2010-04-03 01:36:30 -07:00
Brian Lopez 2f380fd0ff bugfix or escape method 2010-04-03 01:35:41 -07:00
Brian Lopez 799f9809d0 must connect with a user, show errors again 2010-04-02 20:24:13 -07:00
Brian Lopez 82e2a1de21 add initial support for connecting with options 2010-04-02 20:14:29 -07:00
Brian Lopez cb9eb5a188 remove Mysql gem compat for now 2010-04-02 16:45:06 -07:00
Brian Lopez 6c76cbbda0 return the actual value for TINY fields - let the caller coerce into bool 2010-04-02 16:32:18 -07:00
Brian Lopez 9482ca36d6 whitespace 2010-04-02 16:15:21 -07:00
Brian Lopez ed62fe51c3 initial lib dir stuff 2010-04-02 16:14:16 -07:00
Brian Lopez 559bd3d426 reorg vars 2010-04-02 16:14:03 -07:00
Brian Lopez 872bdb0caf rename method to each, seek dataset to beginning on each call of #each 2010-04-02 15:32:58 -07:00
Brian Lopez d90e2a3187 remove fetch_row(s) methods, mixin Enumerable 2010-04-02 11:18:13 -07:00
Brian Lopez b5f22d7c05 check charsetnr flag as well 2010-04-01 14:45:58 -07:00
Brian Lopez bbf7585d09 use binary encoding on fields that have the binary flag set 2010-04-01 14:29:20 -07:00
Brian Lopez bd25b31731 formatting 2010-04-01 12:58:31 -07:00
Brian Lopez 858523d7a9 force string encoding to utf8 in 1.9 2010-04-01 12:56:49 -07:00
Brian Lopez d1466a10f1 add escape benchmark 2010-04-01 12:04:55 -07:00
Brian Lopez 953f547f79 some misc cleanup 2010-04-01 12:04:48 -07:00
Brian Lopez 631456fc58 add escape method 2010-04-01 11:44:59 -07:00
Brian Lopez 841c6f677b use larger table 2010-03-31 23:01:35 -07:00
Brian Lopez 7e64570770 turn off debug symbols again, put back benchmark script 2010-03-31 08:56:07 -07:00
Brian Lopez ae5a028189 testing benchmark script 2010-03-31 08:40:46 -07:00
Brian Lopez 26619b10b6 misc updates 2010-03-30 23:54:07 -07:00
Brian Lopez 1848b0da4a mostly flesh out mysql type to ruby type conversion mapping 2010-03-30 23:30:06 -07:00
Brian Lopez c844c66046 add initial type checking and ruby object creation from resultset 2010-03-30 17:55:16 -07:00
Brian Lopez ce559dded2 temporarily print error msgs to stdout 2010-03-30 16:41:02 -07:00
Brian Lopez 82545702fe update benchmark script 2010-03-30 16:40:41 -07:00
Brian Lopez 47e2faa27d add initial benchmark 2010-03-30 10:18:29 -07:00
Brian Lopez 736c0d6cd3 result hash keys can be symbols using the :symbolize_keys option with #fetch_row, #fetch_rows or #each. Renamed extension from MySQL to Mysql2. Initial Rakefile and spec dir 2010-03-30 09:56:24 -07:00
Brian Lopez 63b55b6f97 add initial gitignore 2010-03-30 09:54:36 -07:00
Brian Lopez 8713288574 renaming again ;) 2010-03-30 09:20:55 -07:00
Brian Lopez e6ab4c089a move files into ext/ 2010-03-30 09:19:05 -07:00
Brian Lopez 2810329190 alias #fetch_rows to #each 2010-03-30 09:15:04 -07:00
Brian Lopez 1eef152459 allow passing a block to fetch_rows 2010-03-30 09:14:27 -07:00
Brian Lopez ccbbb94ebb add TODO for yielding blocks 2010-03-30 08:50:10 -07:00
Brian Lopez 959eca935b fix include for renamed files 2010-03-30 08:49:45 -07:00
Brian Lopez f9142b9885 fix typo 2010-03-30 08:46:59 -07:00
Brian Lopez a7d5c39086 rename 2010-03-26 01:04:31 -07:00
Brian Lopez e42f7cc6e4 initial commit 2010-03-26 01:03:08 -07:00