Commit Graph

1133 Commits

Author SHA1 Message Date
Marc Delisle
313a06cce2 bug 921939 2004-04-07 19:34:42 +00:00
Olivier Müller
c56cf7cf47 added (un)checkall links to the "Global privileges" edition form 2004-04-03 00:29:59 +00:00
Marcel Tschopp
19c9f98a04 Mysql4.1 specific fix in function PMA_displayTableBody() (character set convertions). 2004-03-26 19:09:09 +00:00
Marc Delisle
736b182dad Natural order 2004-03-26 18:49:56 +00:00
Marcel Tschopp
e5c4f13829 *** empty log message *** 2004-03-25 22:13:32 +00:00
Michal Čihař
98e613a201 Fix errors when bookmarktable does not exists (bug #922509). 2004-03-25 10:25:22 +00:00
Marc Delisle
cf4bba92d9 bug 922553 2004-03-24 18:05:44 +00:00
Olivier Müller
4d1dc6192e 2004-03-23 Olivier Mueller <om@omnis.ch>
* libraries/mysql_wrappers.lib.php: added mysqli support to the
      PMA_mysql_field_flags function because mysqli does not know the function
      mysqli_field_flags (submitted by Marcel Tschopp - aka 'ne0x').
    * libraries/dbi/mysqli.dbi.lib.php: changed default query mode from
      MYSQLI_USE_RESULT to MYSQLI_STORE_RESULT in the
      PMA_DBI_try_query function (ne0x)
    * libraries/dbi/mysql.dbi.lib.php, libraries/dbi/mysqli.dbi.lib.php:
      Added wrapping function PMA_DBI_fetch_array() (ne0x)
    * libraries/display_tbl.lib.php: PMA_displayTableBody() function now uses
      the new PMA_DBI_fetch_array() function instead of
      PMA_mysql_fetch_array() (ne0x)
2004-03-23 16:22:19 +00:00
Michal Čihař
cd65e1f844 Set correct variable to avoid attempting sending headers twice. 2004-03-22 16:29:34 +00:00
Marc Delisle
36c32393d9 bug 906551 2004-03-18 22:00:48 +00:00
Marc Delisle
78b92f76e1 bug 913704 2004-03-18 13:22:10 +00:00
Marc Delisle
0f6eb412ec bug 877359, constraint and MySQL 3.23.58 2004-03-10 15:57:59 +00:00
Michal Čihař
999b64584c removed some hard coded messages 2004-03-10 13:24:13 +00:00
Michal Čihař
fc0c608d82 Add support for IF NOT EXISTS in CREATE TABLE export (RFE #913421). 2004-03-10 13:13:27 +00:00
Michal Čihař
262462b03a added missed configuration for INSERT IGNORE 2004-03-10 12:59:01 +00:00
Michal Čihař
b6f8cbd8e5 Add support for INSERT IGNORE and UPDATE IGNORE. 2004-03-10 11:51:18 +00:00
Michal Čihař
97008c97fa Patch 890075 - Unbuffered query while exporting 2004-03-10 11:02:30 +00:00
Michal Čihař
39f110f82c Support for unbuffered queries - PMA_DBI_QUERY_UNBUFFERED and fix support of PMA_DBI_QUERY_STORE. 2004-03-10 11:01:50 +00:00
Marc Delisle
d4614b526a bug 887933, nested forms 2004-03-09 20:52:30 +00:00
Michal Čihař
ab6f25e097 Support for site configurable header and footer (patch #893477). 2004-03-09 17:07:43 +00:00
Michal Čihař
0914c72f15 Can add custom text to SQL export headers (RFE #874361). 2004-03-09 16:21:37 +00:00
Michal Čihař
482182526b CRLF -> LF 2004-03-09 15:54:00 +00:00
Michal Čihař
382283de19 minor export fixes 2004-03-09 15:27:34 +00:00
Michal Čihař
4bc0f3cb14 one more strlen transition missed 2004-03-09 15:05:23 +00:00
Michal Čihař
88dc344cdb Use charset aware substr and strlen functions (bugs #854755 and #910575). 2004-03-09 15:02:28 +00:00
Michal Čihař
399318d264 Fix PMA_mysql_fetch_array return value for last result (bug #905223). 2004-03-09 14:21:31 +00:00
Michal Čihař
8fcbd55910 Remove possible double charset conversion. 2004-03-09 14:01:17 +00:00
Marc Delisle
2ed606d914 bug 906551 2004-03-05 18:56:53 +00:00
Marc Delisle
e22f80a3bf bug 909752 2004-03-05 17:58:10 +00:00
Marc Delisle
6ce5dfa493 cookie login does not work if LoginCookieValidity is not defined 2004-03-01 18:31:21 +00:00
Alexander M. Turek
4c1117e937 Yet another ungly fix concerning the missing mysql_get_client_info() function. 2004-02-29 22:31:25 +00:00
Michal Čihař
36bb7a6acf more secure cookie login 2004-02-27 13:56:34 +00:00
Marc Delisle
5b74413834 bug 905066 2004-02-26 16:49:24 +00:00
Alexander M. Turek
6279474b3a Charset stuff 2004-02-15 01:07:20 +00:00
Alexander M. Turek
3102a23c09 Introduced options parameter for query functions. 2004-02-14 00:36:14 +00:00
Alexander M. Turek
fd25405391 fixed my previous fix... (I was just too tired ;-) ) 2004-02-14 00:24:57 +00:00
Alexander M. Turek
9abea89287 bug #890186 2004-02-13 23:03:39 +00:00
Marc Delisle
866653209d bug 879005 2004-02-11 18:25:28 +00:00
Marc Delisle
40018fafae bug 890573 typo 2004-02-04 20:15:19 +00:00
Alexander M. Turek
63a27d0992 Use PMA_backquote(). 2004-02-02 09:04:30 +00:00
Marc Delisle
d879ff452a strDropDatabaseStrongWarning 2004-01-29 18:38:32 +00:00
Garvin Hicking
b8df10e41e Get rid of mysql_data_seek(). Use pre-cached PHP array for mysqli
compatibility and bandwidth saving.

Memory issues by caching should not arise, as the used cache will (in our
previously used cases) only cache index fields and max. 200 relation rows.

I tested performance on my machine: By fetching 400kb of data twice via
mysql_fetch_row() -> mysql_data_seek() -> mysql_fetch_row() this was
performed in 0.25 seconds. By fetching it once and caching in a PHP array
via mysql_fetch_row -> foreach this is performed in 0.32 seconds.

With usual data as used in PMA (10kb) I could only detect a performance
change of 0.009 seconds, which is respectable I think.

By not using mysql_data_seek we are later able to use global mysqli
USE_RESULT options to fetch rows singly. I discussed that yesterday with
Rabus, and if there are any objections we can surely discuss that further on
the list.
2004-01-28 11:23:38 +00:00
Robin Johnson
9ef1abb59c unix linefeeds! 2004-01-27 00:49:13 +00:00
Marc Delisle
a5d3509065 PMA_DBI_num_fields 2004-01-25 22:56:26 +00:00
Marc Delisle
1bb4a951a4 bug 879792 2004-01-25 13:18:19 +00:00
Marc Delisle
ba7aa0770d need PMA_DBI_fetch_row 2004-01-24 21:18:32 +00:00
Marc Delisle
425759a2e1 use generic CantLoad message 2004-01-24 19:01:56 +00:00
Marc Delisle
640826d6e4 use generic CantLoad message 2004-01-24 18:55:15 +00:00
Marc Delisle
279d4d3cde avoid display of errors 2004-01-24 18:44:13 +00:00
Alexander M. Turek
2915b5c3ce Added MySQLi library; Removed calls to old mysql_wrappers library. 2004-01-22 02:13:48 +00:00