Commit Graph

53 Commits

Author SHA1 Message Date
Marc Delisle
526dce65cb 3.3 2009-12-31 13:11:19 +00:00
Marc Delisle
f3833884e4 3.3 2009-12-31 13:09:18 +00:00
Michal Čihař
84ae0420fe Adding @package, third part. 2008-11-24 11:22:44 +00:00
Marc Delisle
b1b757406b bug #2161443 [structure] Incorrect index choice shown when modifying an index 2008-10-12 13:03:57 +00:00
Marc Delisle
58d05ac070 undefined where starting to create an index 2008-03-17 16:42:14 +00:00
Sebastian Mendel
eb07812dbb aggregate more index code into PMA_index class 2008-02-07 14:59:02 +00:00
Sebastian Mendel
bda5a218a1 more cleanup/refactoring on index code 2008-02-07 11:40:37 +00:00
Sebastian Mendel
4dea5b6bfd new Class PMA_Index;
show more information about indexes;
2008-02-04 15:01:43 +00:00
Marc Delisle
cb89bd27a6 invalid vim modeline 2008-01-17 17:50:31 +00:00
Sebastian Mendel
085a7c8f22 make use of PMA_Message 2007-10-17 12:14:19 +00:00
Sebastian Mendel
107fc46ad9 make use of PMA_Message 2007-10-16 12:14:19 +00:00
Sebastian Mendel
40b3ce9fd1 use array to define included JavaScript libraries 2007-10-04 09:22:50 +00:00
Sebastian Mendel
3737060548 removed MySQL < 5 code 2007-10-02 10:39:52 +00:00
Sebastian Mendel
cfeb306526 coding standard: no spaces inside braces 2007-04-01 11:02:46 +00:00
Sebastian Mendel
008734f8b0 do NEVER unset $table or $db;
no need to test for isset() on $db and $table;
always test with strlen() for valid $table or $db;
2007-03-30 09:12:05 +00:00
Sebastian Mendel
d0facc3d4f splitted common.lib.php into common.inc.php, core.lib.php and common.lib.php 2007-03-20 14:16:18 +00:00
Sebastian Mendel
71d4904b71 bug #1627210, #1083301, #1482401 [data] warning on duplicate indexes 2007-03-14 16:16:47 +00:00
Marc Delisle
42ac66ad74 get rid of propicon 2007-02-10 15:58:46 +00:00
Michal Čihař
cac4247057 Rename db_* files to drop useless _details part. 2006-10-25 12:25:01 +00:00
Michal Čihař
ad06b4a991 Rename tbl_* files to drop useless _properties part. 2006-10-25 10:55:20 +00:00
Sebastian Mendel
baac64a2e4 removed table formating, done in css 2006-04-27 09:51:51 +00:00
Sebastian Mendel
0ae8842353 (not complete) PEAR coding standard 2006-01-17 17:03:02 +00:00
Sebastian Mendel
7358f5a712 allow 0 as name for database, table collumn, alias and index 2006-01-14 23:17:17 +00:00
Michal Čihař
f420e85a67 Fix XHTML. 2005-12-08 16:15:48 +00:00
Sebastian Mendel
0237ab7160 revised XHTML output 2005-12-02 13:04:22 +00:00
Michal Čihař
6aeabf44d1 Move footer.inc.php, header.inc.php and header_printview.inc.php to libraries folder as it does not require direct access. 2005-11-24 09:12:17 +00:00
Sebastian Mendel
fcf387bc70 common.lib.php should REALLY REALLY and ALWAYS be the first include 2005-11-18 12:50:49 +00:00
Sebastian Mendel
ed68f9816b bug #1350872 Broken Link in Structure Tab 2005-11-08 09:54:52 +00:00
Michal Čihař
5e1ddad64e Fix documentation links (bug #1341676). 2005-10-29 19:37:45 +00:00
Michal Čihař
9216ba0729 Show better error messages when checking numerical inputs (bug #1207402). 2005-07-10 20:35:58 +00:00
Michal Čihař
f1f39b8ed1 added infou about UFPDF to documentation 2004-12-29 14:16:51 +00:00
Michal Čihař
9edf126599 Fix index editing. 2004-11-02 16:53:08 +00:00
Garvin Hicking
ae2022381e RFE #1044677: Check for suboptimal indexes.
EXPERIMENTAL IMPLEMENTATION! Please check, though it does work on my
installation, I had to shift around several functions to make them re-usable
from the sql.php file.
2004-11-02 13:41:30 +00:00
Marc Delisle
5e7d024ebd optimize code 2004-08-21 11:47:04 +00:00
Michal Čihař
ca5b16f654 Change look of adding fields into table (bug #991095).
I again did some XHTML validation, so removed few of most obvious errors, but there are still many, mostly missing alt attributtes for images and wrongly nested tags.
2004-08-12 15:13:20 +00:00
Michal Čihař
1de0157813 Fix grabing indexes with MYSQLI_USE_RESULT (bug #1007286). 2004-08-11 15:12:29 +00:00
Marc Delisle
d9a21610d1 redesign part 3 2004-06-13 21:39:08 +00:00
Michal Čihař
1aaa89fa54 Little code reorganistaion (RFE #957308), removed some remaining php3 compatibility code in SQL parser. 2004-05-20 16:14:13 +00:00
Alexander M. Turek
0b6975f8bd Patch #947190 2004-05-16 17:32:15 +00:00
Marc Delisle
83615ea838 use PMA_sendHeaderLocation 2004-05-11 12:49:05 +00:00
Michal Čihař
04229e997f Be valid XHTML. 2004-04-27 11:54:54 +00:00
Michal Čihař
47b8014bba Remove print_r (bug #942383). 2004-04-26 15:19:47 +00:00
Marcel Tschopp
4e62f7658f Changed some queries to use MYSQLI_STORE_RESULT.
phpMyAdmin now works with MYSQLI_USE_RESULT as default.
2004-04-10 16:19:21 +00:00
Michal Čihař
51a1224d3d Use properly $cfg['PropertiesIconic'] (bug #918072). 2004-03-30 13:55:09 +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
Alexander M. Turek
2915b5c3ce Added MySQLi library; Removed calls to old mysql_wrappers library. 2004-01-22 02:13:48 +00:00
Marc Delisle
f8d049ace5 use PMA_DBI function 2004-01-20 20:24:00 +00:00
Marc Delisle
b0cc4dbb23 use PMA_DBI function 2004-01-20 19:53:53 +00:00
Marc Delisle
28a5d0476e PMA_DBI_num_rows 2004-01-20 19:35:37 +00:00
Alexander M. Turek
37d50c1822 Huge set of optimizations, please test! 2003-11-26 22:52:25 +00:00