Brian Lopez
dfca514562
make specs a little finer grained, fix a few issues found along the way
2010-04-29 10:01:25 -07:00
Brian Lopez
428eb7e79b
Revert "Revert "for DATE columns, return ruby Date object instead of Time (didn't realize I could create them from y,m,d integers without ActiveSupport)""
...
This reverts commit 5e4080e4e5
.
2010-04-25 21:45:40 -07:00
Brian Lopez
5e4080e4e5
Revert "for DATE columns, return ruby Date object instead of Time (didn't realize I could create them from y,m,d integers without ActiveSupport)"
...
The Date class is sooooo sllooowwww :)
Will probably look into bringing in http://github.com/rtomayko/date-performance at some point.
This reverts commit 51babb3362
.
2010-04-22 12:37:05 -07:00
Brian Lopez
51babb3362
for DATE columns, return ruby Date object instead of Time (didn't realize I could create them from y,m,d integers without ActiveSupport)
2010-04-21 10:28:25 -07:00
Brian Lopez
eefa443c2e
Implement a local resultset cache so we can free the mysql C result once we've cached it's rows in ruby land.
...
This allows the caller to iterate over the Mysql2::Result instance as many times as they want, lazily pulling what rows are needed from the mysql C result.
2010-04-21 01:40:28 -07:00
Brian Lopez
1c9e94f7e9
add initial ActiveRecord driver
2010-04-15 00:56:51 -07:00
Brian Lopez
288ed22806
add initial EM Deferrable API
2010-04-14 12:55:27 -07:00
Brian Lopez
8f93f830c1
add affected_rows method (mysql_affected_rows)
2010-04-07 09:47:45 -07:00
Brian Lopez
e20df5c140
add last_id method (last_insert_id)
2010-04-07 09:36:36 -07:00
Brian Lopez
7131752757
add initial async query support
2010-04-07 09:16:30 -07:00
Brian Lopez
5a81a170be
fix bad spec, add missing one
2010-04-06 01:20:49 -07:00
Brian Lopez
1dea635e09
update Mysql2::Result spec table creation to include a missing type, and properly configure another
2010-04-06 00:59:09 -07:00
Brian Lopez
ec40ee8f06
add ssl support
2010-04-05 23:30:36 -07:00
Brian Lopez
7bac2c520a
add Mysql2::Error exception type, use it
2010-04-04 23:46:42 -07:00
Brian Lopez
9b59478cf6
allow access to file descriptor in C, EventMachine anyone? ;)
2010-04-04 23:31:32 -07:00
Brian Lopez
aa574a0a92
minor org
2010-04-04 22:07:37 -07:00
Brian Lopez
45eea6515c
initial client and result specs
2010-04-04 12:17:50 -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