Age | Commit message (Collapse) | Author | Files | Lines |
|
pkgsrc change:
* Switch to use gem, 3.0 release.
* Change HOMEPAGE to github page.
[3.0.1] - 2022-06-18
* LICENSE: correct author
* FIX: correct LOAD DATA LOCAL INFILE result information.
* FIX: reset SERVER_MORE_RESULTS_EXISTS when error packet is received.
* FIX: close the socket when the connection is disconnected.
* FIX: allow multiple results by default.
[3.0.0] - 2021-11-16
* Mysql.new no longer connect. use Mysql.connect or Mysql#connect.
* Mysql.init is removed. use Mysql.new instead.
* Mysql.new, Mysql.conncet and Mysql#connect takes URI object or URI string
or Hash object.
example:
Mysql.connect('mysql://user:password@hostname:port/dbname?charset=ascii')
Mysql.connect('mysql://user:password@%2Ftmp%2Fmysql.sock/dbname?charset=ascii') # for UNIX socket
Mysql.connect('hostname', 'user', 'password', 'dbname')
Mysql.connect(host: 'hostname', username: 'user', password: 'password', database: 'dbname')
* Mysql.options is removed. use Mysql#param = value instead. For example:
m = Mysql.init m.options(Mysql::OPT_LOCAL_INFILE, true)
m.connect(host, user, passwd)
change to
m = Mysql.new m.local_infile = true
m.connect(host, user, passwd)
or
m = Mysql.connect(host, user, passwd, local_infile: true)
* Mysql::Time is removed. Instead, Time object is returned for the DATE,
DATETIME, TIMESTAMP data, and Integer object is returned for the TIME
data. If DATE, DATETIME, TIMESTAMP are invalid values for Time, nil is
returned.
* meaningless methods are removed:
bind_result
client_info
client_version
get_proto_info
get_server_info
get_server_version
proto_info
query_with_result
* alias method are removed:
get_host_info: use host_info
real_connect: use connect
real_query: use query
* methods corresponding to deprecated APIs in MySQL are removed:
list_dbs: use SHOW DATABASES
list_fields: use SHOW COLUMNS
list_processes: use SHOW PROCESSLIST
list_tables: use SHOW TABLES
|
|
* Fix build with Ruby 2.2.
* Use setup.rb instead of extconf.rb.
* Use GITHUB framework.
Changelog:
Not available.
|
|
|
|
Bump PKGREVISION.
|
|
|
|
pkgsrc changes:
- Change HOMEPAGE in English.
- Add style sheet to installed documents.
distribution changes:
2005-04-25: version 2.6
* add constants for Mysql#option(): Mysql::OPT_PROTOCOL,
Mysql::OPT_READ_TIMEOUT, Mysql::OPT_WRITE_TIMEOUT,
Mysql::SET_CHARSET_DIR, Mysql::SET_CHARSET_NAME,
Mysql::SHARED_MEMORY_BASE_NAME, Mysql::SECURE_AUTH
* add methods: Mysql#more_results?(), Mysql#next_result(),
Mysql#set_server_option(), Mysql#sqlstate()
* add constants for Mysql#connect(): Mysql::CLIENT_MULTI_STATEMENTS,
Mysql::CLIENT_MULTI_RESULTS
* add constants for Mysql#set_server_option():
Mysql::OPTION_MULTI_STATEMENTS_ON, Mysql::OPTION_MULTI_STATEMENTS_OFF
* add Mysql#query() with block
* add Mysql#reconnect(), Mysql#reconnect=()
* When connection was closed, it don't try to reconnect by default.
2005-02-12: version 2.5.2
* BUG: Mysql#connect make object to not close. (Thanks Andres Salomon)
|
|
|
|
for Ruby packages.
2004-09-20
version 2.5.1
* add Mysql#set_ssl().
2004-08-31
version 2.5
* correspond to MySQL 4.1.x.
* change MysqlRes, MysqlField, MysqlError to Mysql::Result,
Mysql::Field, Mysql::Error.
* add Mysql.client_version(), Mysql.get_client_version(),
Mysql#client_version(), Mysql#get_client_version(),
Mysql#server_version(), Mysql#get_server_version(),
Mysql#warning_count(), Mysql#commit(), Mysql#rollback(),
Mysql#autocommit().
* add Mysql::Field#is_not_null?(), Mysql::Field#is_pri_key?(),
Mysql::Field#is_num?().
* add MysqlField::TYPE_VAR_STRING.
|
|
from Ruby.
Based on PR pkg/14302 with slightly modification and newer version, 2.4.2.
|