Branch: Tag:

2023-01-18

2023-01-18 09:14:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.Sql: Use glob() rather than Regexp for wildcard matching.

Fixes issue with errors from Regexp due to wide strings.

2022-11-20

2022-11-20 12:43:50 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Work in progress: Sakura master

2022-06-01

2022-06-01 23:38:49 by Martin Nilsson <nilsson@fastmail.com>

Added zero as return type on methods containing 'return 0'

2022-06-01 11:42:47 by Martin Nilsson <nilsson@fastmail.com>

Updated types where documentation said 'or zero'.

2022-05-07

2022-05-07 15:49:29 by Martin Nilsson <nilsson@fastmail.com>

Indentation changes

2022-01-13

2022-01-13 09:32:36 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Connection: Added query_db() and reset() to the API.

2021-07-03

2021-07-03 13:00:05 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Connection: Added comment.

2020-05-14

2020-05-14 11:07:04 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Connection: Improved field fetching in res_obj_to_array().

Some SQL drivers do not support fetching the set of field names
before the first call of fetch_row(), and/or after the last
such call.

Note: Also switches to using fetch_row() instead of fetch_row_array()
to avoid the above issue.

Fixes #10035.

2018-11-04

2018-11-04 16:11:11 by Arne Goedeke <el@laramies.com>

Merge remote-tracking branch 'origin/master' into new_utf8

2018-11-03

2018-11-03 14:21:37 by Marcus Comstedt <marcus@mc.pp.se>

Merge remote-tracking branch 'origin/8.1' into gobject-introspection

2018-05-15

2018-05-15 16:15:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Revert "Sql.Connection: More progressive fallback calls."

Make big_typed_query() et al work as intended again.

This reverts commit f3d902470c9708275043bedea0e75d786b05b179.

2018-05-15 12:12:07 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Connection: More progressive fallback calls.

2018-03-20

2018-03-20 20:20:30 by Bill Welliver <bill@welliver.org>

Sql.Connection: always attempt to fetch any rows when converting a result to array.

Checking for fields is not sufficient, as some engines do not execute the query until
the first row is fetched (SQLite for example). On queries that use sprintf bindings
but return no rows (such as inserts), this resulted in the query never executing (and
likely leaking the statement).

2018-02-14

2018-02-14 17:39:10 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.mysql: localtime(0)->timesone is not a constant expression.

2018-02-03

2018-02-03 09:48:55 by Peter Bortas <bortas@gmail.com>

Merge branch '8.1' into peter/travis

2018-01-31

2018-01-31 14:57:05 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Connection: Fallback big_typed_query() to big_query(), and streamline docs.

2018-01-25

2018-01-25 15:31:49 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Connection: Fix docs and prototypes.

2018-01-25 15:31:49 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Promise: Add support for eventbased mapping of resultrows.

2017-11-25

2017-11-25 02:47:24 by Stephen R. van den Berg <srb@cuci.nl>

Sql.FutureResult: Rename raw_data -> data, and data -> get().

2017-11-24

2017-11-24 11:23:59 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Promise: New & improved interface.

2017-11-23

2017-11-23 11:16:20 by Stephen R. van den Berg <srb@cuci.nl>

Sql.FutureResult: Polish docs and internals; uses status_command_complete instead of exception.

2017-11-22

2017-11-22 14:54:23 by Stephen R. van den Berg <srb@cuci.nl>

Sql.FutureResult: Add a Concurrent.Promise interface to Sql.Connection.

2017-11-20

2017-11-20 23:48:05 by Stephen R. van den Berg <srb@cuci.nl>

Sql.Sql: Support error(void|int clear).

2017-11-09

2017-11-09 09:05:23 by Stephen R. van den Berg <srb@cuci.nl>

Spelling fixes.

2017-03-09

2017-03-09 14:32:07 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.Sql: Sql.Sql() is now a function and not a class.

Now that __builtin.Sql.Connection exists and is used, the wrapper
class should no longer be needed.

The wrapper class has moved to 8.0::Sql.Sql.

2017-03-09 14:27:15 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql.Sql: Sql.Sql() is now a function and not a class.

Now that __builtin.Sql.Connection exists and is used, the wrapper
class should no longer be needed.

The wrapper class has moved to 8.0::Sql.Sql.

2016-04-30

2016-04-30 11:48:27 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Documentation [__builtin.Sql.Connection]: Fixed minor typo.

2016-04-02

2016-04-02 10:24:47 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Connection: Simplified handle_extraargs() somewhat.

handle_extraargs() is never called with any preexisting bindings,
so there's no need to support that case.

2016-04-02 10:22:38 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Connection: Use variants for big_query() et al.

This simplifies overloading by the various drivers.

2016-04-02 10:16:11 by Henrik Grubbström (Grubba) <grubba@grubba.org>

__builtin.Sql.Connection: Added emulate_bindings().

2016-03-25

2016-03-25 13:10:03 by Henrik Grubbström (Grubba) <grubba@grubba.org>

Sql: Added __builtin.Sql.{Connection,Result}.

These will be the new base classes for the Sql API.