1 | This is the change log for the perl extension PApp::SQL. |
1 | This is the change log for the perl extension PApp::SQL. |
2 | |
2 | |
|
|
3 | 2.002 Mon Mar 4 07:24:49 CET 2019 |
|
|
4 | - support DBD::MAriaDB is sql_insertid. |
|
|
5 | - use DBI's last_insert_id method as fallback, with |
|
|
6 | all undef parameters. |
|
|
7 | |
|
|
8 | 2.001 Sat Oct 7 17:52:36 CEST 2017 |
|
|
9 | - protip: avoid postgres, it's an inefficient pile of garbage code. |
|
|
10 | - work around DBD::Pg (and only DBD::Pg) unnecessarily modifying |
|
|
11 | the first argument of bind_param, likely due to some misguided |
|
|
12 | implementation of some unneccessary extensions requiring |
|
|
13 | non-standard syntax for bind_param. bleah. |
|
|
14 | - minor av_fetch optimisation. |
|
|
15 | |
|
|
16 | 2.0 Sat Jul 28 15:50:52 CEST 2012 |
|
|
17 | - work around some bugs in DBD drivers (SQLite...) instead of |
|
|
18 | crashing. |
|
|
19 | - use SvOKp to decide whether we should upgrade to utf-8. |
|
|
20 | - since DBD::mysql keeps changing their number detection code |
|
|
21 | and therefore keeps corrupting our data, call bind_param |
|
|
22 | with "correctly" deduced types on first first execution |
|
|
23 | of an sql statement. |
|
|
24 | - cache prepare and all statement methods per stash, to avoid |
|
|
25 | having to look up multiple methods per execution. |
|
|
26 | - use a default lru cache size of 100 instead of 50. |
|
|
27 | - switch to FNV-1a hash and actually _do_ hash more than the |
|
|
28 | first character of the sql statement. |
|
|
29 | - check the length of the sql string when deciding whether it is |
|
|
30 | too long for caching, do not use the size of the allocated |
|
|
31 | memory area, which is less useful. |
|
|
32 | - use less mind-boggling but safer method to pass return values to perl. |
|
|
33 | |
|
|
34 | 1.05 Sun Jun 21 07:13:25 CEST 2009 |
|
|
35 | - check statement handles for active state, to avoid using |
|
|
36 | a cached statement handle that is currently active |
|
|
37 | (good for recursive invocations, and threads). |
|
|
38 | - allow cache sizes of 0, do not crash. |
|
|
39 | - reduce max cached statement length from 8k to 4k. |
|
|
40 | |
|
|
41 | 1.04 Sun Jun 21 02:27:46 CEST 2009 |
|
|
42 | - be more Coro/thread friendly by actually making a copy of the |
|
|
43 | database handle inside sql_exec. |
|
|
44 | - use croak for error reporting, not die. |
|
|
45 | |
|
|
46 | 1.03 Sat Jan 19 09:56:26 CET 2008 |
|
|
47 | - work around API changes in perl 5.10. |
|
|
48 | |
|
|
49 | 1.02 Fri Mar 3 15:11:23 CET 2006 |
|
|
50 | - fixed a bug with argument passing to connect_cached in checked_dbh. |
|
|
51 | - sqlite sql_insertid support. |
|
|
52 | - added Changes file. |
|
|
53 | |
|
|
54 | 1.0 Thu Sep 1 10:53:32 CEST 2005 |
|
|
55 | - avoid some cast warnings. |
|
|
56 | - it has been extremely well-tested, so bump to 1.0. |
|
|
57 | |
3 | 0.143 Wed Jan 28 20:03:52 MET 2004 (oesi) |
58 | 0.143 Wed Jan 28 20:03:52 MET 2004 |
4 | - force bind-variables to utf8 before binding (for sql_u*) |
59 | - force bind-variables to utf8 before binding (for sql_u*) |
|
|
60 | (Stefan Traby). |
5 | |
61 | |
6 | 0.142 Thu Nov 7 02:57:30 CET 2002 |
62 | 0.142 Thu Nov 7 02:57:30 CET 2002 |
7 | - work around what looks like a memory leak inside |
63 | - work around what looks like a memory leak inside |
8 | DBI when execute is called with tied hashelements. |
64 | DBI when execute is called with tied hashelements. |
9 | |
65 | |
… | |
… | |
13 | repeated. |
69 | repeated. |
14 | |
70 | |
15 | 0.14 Wed Jun 26 03:42:30 CEST 2002 |
71 | 0.14 Wed Jun 26 03:42:30 CEST 2002 |
16 | - the sql_*fetch* functions now make mortal copies of |
72 | - the sql_*fetch* functions now make mortal copies of |
17 | the values returned by DBI. This is slower but ensures |
73 | the values returned by DBI. This is slower but ensures |
18 | correctness in spire of perl's own optimizations ;) |
74 | correctness in spite of perl's own optimizations ;) |
19 | |
75 | |
20 | 0.131 Wed Apr 10 21:56:56 CEST 2002 |
76 | 0.131 Wed Apr 10 21:56:56 CEST 2002 |
21 | - removed references to using $DBH in the callers package, which |
77 | - removed references to using $DBH in the callers package, which |
22 | doesn't work. |
78 | doesn't work. |
23 | |
79 | |