Commit Graph

609 Commits

Author SHA1 Message Date
Sebastian Mendel
573a6161bd fixed code indention 2007-05-09 12:18:57 +00:00
Sebastian Mendel
d0ac1f2bbb XHTML standard: no language attribute in <script> 2007-04-01 11:13:46 +00:00
Sebastian Mendel
adb39168cc coding standard: no braces around include 2007-04-01 09:51:41 +00:00
Sebastian Mendel
b2f3ae5fcf make $sql_query persistent (init it, never unset it, always assume it is set) 2007-04-01 09:26:14 +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
c28969acbd no need to globalize $_REQUEST['is_js_confirmed'] 2007-03-27 11:29:18 +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
374abd5173 fixed/added page level docblock 2007-03-20 10:32:13 +00:00
Sebastian Mendel
817e790762 synced/fixed vim line 2007-03-19 17:55:39 +00:00
Sebastian Mendel
71d4904b71 bug #1627210, #1083301, #1482401 [data] warning on duplicate indexes 2007-03-14 16:16:47 +00:00
Marc Delisle
5dd2f3696d patch #1605032, undefined index 2006-11-29 11:04:16 +00:00
Michal Čihař
fb9a3a598e Check before commit! 2006-11-17 08:49:30 +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
Michal Čihař
39ac60384a Rename db_details_db_info.inc.php to db_info.inc.php. 2006-10-19 08:54:19 +00:00
Sebastian Mendel
1eadc0a41a use @todo tag for todo items, to show up in generated documentation 2006-09-21 14:28:46 +00:00
Marc Delisle
5e0722a9db bug #1533945, wrong table name in header (SELECT from query window) 2006-08-11 12:36:12 +00:00
Marc Delisle
57eaa756e0 bug #1490422, lost connection to MySQL server 2006-05-30 15:25:29 +00:00
Michal Čihař
942357ec92 Do not compare db if not defined. 2006-05-30 09:19:44 +00:00
Michal Čihař
7ad007ccf8 Show results of REPLACE as affected as it contains both deleted and inserted rows count (bug #1475765). 2006-04-27 08:48:08 +00:00
Sebastian Mendel
f020ab03b0 - fixed bug #1469469 cyclic redirect with sql.php as default table-page
- re-use already existing code
2006-04-13 10:39:58 +00:00
Marc Delisle
ae52834be5 bug #1448890 Column expander doesn't work 2006-03-26 10:52:21 +00:00
Marc Delisle
7f5e34a4d1 bug #1437499, LIMIT clause when query end with semicolon 2006-02-23 17:55:31 +00:00
Michal Čihař
7b96b58417 Better message for query export, move operation above query results into one fieldset (bug #1431420). 2006-02-22 12:42:35 +00:00
Sebastian Mendel
cd340d8496 moved PMA_generateFieldSpec(), PMA_tableIsView(), PMA_countRecords(), PMA_generateAlterTable() into class PMA_Table 2006-02-21 11:07:46 +00:00
Sebastian Mendel
f21826d64c fixed bug #1431422 Safari: Print view prints blank page 2006-02-20 14:19:56 +00:00
Marc Delisle
4532d8d0b0 bug #1434576, undefined variable db 2006-02-19 14:34:25 +00:00
Sebastian Mendel
0ec11cfc97 fixed some 'not refreshing left frame' 2006-02-05 11:02:26 +00:00
Marc Delisle
bacb45368a verification for COUNT clause and VIEWs 2006-01-25 15:29:17 +00:00
Marc Delisle
c7d4963897 affected rows are returned in case of DELETE with no WHERE clause, at least since MySQL 4.0.x 2006-01-25 14:49:40 +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
Marc Delisle
841b3403c7 bug #1394779, SQL executer tries to find keys from current table 2006-01-11 20:16:20 +00:00
Marc Delisle
1a16113609 bug #1395590 Safari Bookmark query fieldset float problem 2006-01-07 12:41:57 +00:00
Marc Delisle
a05f06bc48 revert changes 2005-12-11 23:49:19 +00:00
Marc Delisle
f6d24d59c9 first example for deglobalization: goto 2005-12-11 13:49:00 +00:00
Sebastian Mendel
8344198c10 moved tbl_properties_common.php into libraries 2005-12-08 13:19:25 +00:00
Sebastian Mendel
7a23fe5cb6 hide edit/delete links for information_schema (bug #1373201) 2005-12-05 13:32:50 +00:00
Sebastian Mendel
82572774cd define variables only where needed 2005-11-26 06:59:49 +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
Michal Čihař
c40b663969 Move tbl_properties{.inc,_links,_table_info}.php to libraries folder as it does not require direct access. 2005-11-24 08:55:33 +00:00
Michal Čihař
5fe9f0f259 Move db_details_{common,db_info,links}.php to libraries folder as it does not require direct access. 2005-11-24 08:42:20 +00:00
Michal Čihař
66aa9d2396 Move server_{links,common}.inc.php to libraries folder as it does not require direct access. 2005-11-24 08:29:44 +00:00
Michal Čihař
3f2e3ab766 use bookmarked query for browsing when available 2005-11-23 21:41:16 +00:00
Michal Čihař
adf0c75d55 Allow browse page to be default (RFE #1228013). 2005-11-23 21:30:53 +00:00
Sebastian Mendel
d099b9d0d6 use fieldset for 'bookmark this' 2005-11-06 12:33:40 +00:00
Sebastian Mendel
a51f2533ea unified message boxes (error, warning, confirmation) 2005-10-26 17:32:19 +00:00
Sebastian Mendel
0b477e9c03 refresh left frame on view creation 2005-10-20 08:16:27 +00:00
Sebastian Mendel
889b2e9f2e update row count in left frame bug #1243908 2005-10-18 10:00:46 +00:00
Michal Čihař
1819599e53 We need bookmark code to be included everytime. 2005-10-13 17:25:15 +00:00
Michal Čihař
885cb0891b Fix appending LIMIT when there are comments. 2005-10-08 20:09:03 +00:00
Marc Delisle
fbdac06a9d remove old code 2005-10-08 19:02:15 +00:00
Michal Čihař
f029aea260 Use common code for superuser detection. 2005-10-08 16:11:46 +00:00
Michal Čihař
6a093d4283 Switch all SQL from read_dump.php to import.php. 2005-10-08 11:24:21 +00:00
Michal Čihař
79c05d5cb9 Work even if no db set. 2005-10-08 09:51:56 +00:00
Sebastian Mendel
c8971b42e8 bug #1305830 wrong db choosen 2005-09-28 17:03:17 +00:00
Sebastian Mendel
b8741540db moved all code for queryboxes into libraries/sql_query_form.lib.php, replaced table with fieldsets, moved styles into css, minor interface changes related to queryboxes 2005-09-27 13:53:49 +00:00
Michal Čihař
64bd56dfba Support for browsing selected columns (RFE #1275909). 2005-09-26 19:03:11 +00:00
Marc Delisle
2050d44950 bug #1255869, 'MySQL returned an empty result set' not displayed in all cases 2005-08-12 01:06:18 +00:00
Marc Delisle
6588678efa patch #1249451, display improvements 2005-08-02 13:11:24 +00:00
Marc Delisle
6c92b913ef For Insert row and Export: use post when query is too big 2005-07-12 17:17:26 +00:00
Michal Čihař
34bd15df0e Use post for print view when query is too big (bug #1203692). 2005-07-10 21:08:52 +00:00
Marc Delisle
21583d65a8 bug #1204951, left frame browse icon alt tag not updated on emptying table 2005-06-06 01:03:47 +00:00
Marc Delisle
1f2733989b bug #1204913, left frame update on manual table rename 2005-05-26 17:09:07 +00:00
Marc Delisle
e8be67e72e bug #1120434, comment at the end of query is applied to appended LIMIT as well 2005-05-15 12:37:48 +00:00
Michal Čihař
5784420791 Better calculate inserted row id (bug #1156963). 2005-03-07 13:04:46 +00:00
Marc Delisle
4766676ee2 bug #1084820, End>> and InnoDB 2005-01-18 15:35:50 +00:00
Michal Čihař
ffea49bf03 Do not forget reloading when launching multiple queries (bug #1090818). 2005-01-01 21:36:48 +00:00
Michal Čihař
f1f39b8ed1 added infou about UFPDF to documentation 2004-12-29 14:16:51 +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
Michal Čihař
3f258cfb45 Cleanup of message displaying and navigation reloading. 2004-10-21 10:18:12 +00:00
Michal Čihař
67d35fc6af Work better in ANSI mode (bug #816858). 2004-10-19 14:25:57 +00:00
Michal Čihař
f09d9c1aef Fix undefined index. 2004-10-19 12:50:30 +00:00
Marc Delisle
fdad655074 detect more complex case of SELECT DISTINCT for MySQL 3 2004-10-15 19:38:23 +00:00
Michal Čihař
9e840c92b6 Don't try to require sql.php with parameters, rather redirect to it. 2004-10-12 10:27:54 +00:00
Marc Delisle
f213938455 bug #1036678 2004-09-29 19:56:04 +00:00
Marc Delisle
043140d096 re: bug 978930, LIMIT not displayed anymore 2004-09-24 17:37:34 +00:00
Marc Delisle
2a9b839203 bug 988723 sql error when ordering by count( * ) 2004-09-12 13:38:57 +00:00
Marc Delisle
cb2c07f371 bug 899430: problem when lower_case_table_names==2 2004-09-04 11:02:27 +00:00
Michal Čihař
ed3158c035 Don't unset $sql_limit_to_append, we need it later (bug #978930, found by Marc). 2004-08-22 15:03:35 +00:00
Michal Čihař
be3d8a7e91 Work with $display_query only if set (Marc spotted this out). 2004-08-17 13:01:14 +00:00
Michal Čihař
8f3c3accec Better appending of LIMIT (bug #978930). 2004-08-16 15:55:06 +00:00
Michal Čihař
fa837e8bee XHTML fixes 2004-08-12 15:55:43 +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
Marc Delisle
5fb6e7976d PMA_securePath 2004-06-15 16:55:53 +00:00
Marc Delisle
d9a21610d1 redesign part 3 2004-06-13 21:39:08 +00:00
Marc Delisle
e9602b27bb bug 956828 deleting last row generates a PHP error 2004-05-29 12:32:16 +00:00
Alexander M. Turek
0b6975f8bd Patch #947190 2004-05-16 17:32:15 +00:00
Michal Čihař
72b3f91917 Use same code for generating INSERT and UPDATE queries (also fixes bug #953250). 2004-05-13 14:41:28 +00:00
Marc Delisle
4276852c82 use PMA_sendHeaderLocation 2004-05-11 12:57:49 +00:00
Michal Čihař
71c24b8e76 Export only SELECT queries, do not show multi row actions when no checkboxes shown. 2004-05-03 13:52:36 +00:00
Marc Delisle
25a29c45b8 bug 780516 capitalizing keywords 2004-04-19 14:12:24 +00:00
Marcel Tschopp
181e1aca82 Use PMA_DBI_fetch_row instead of PMA_DBI_fetch_array in display_tbl.lib.php 2004-04-10 19:04:01 +00:00
Marcel Tschopp
16de478154 Changed some queries to use MYSQLI_STORE_RESULT.
phpMyAdmin now works with MYSQLI_USE_RESULT as default.
2004-04-10 16:27:23 +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
Marc Delisle
f81459a5d2 bug 913630 deleted rows 0 2004-03-13 13:38:40 +00:00
Marc Delisle
d879ff452a strDropDatabaseStrongWarning 2004-01-29 18:38:32 +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
a7bd761f3f PMA_DBI_affected_rows 2004-01-20 21:03:31 +00:00
Marc Delisle
a69eb2ebbc PMA_DBI_insert_id 2004-01-20 20:52:28 +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
Marc Delisle
b7ad9c1119 clarify 2004-01-05 00:37:02 +00:00
Garvin Hicking
079c662908 check for databases after query 2003-12-11 11:16:25 +00:00
Alexander M. Turek
37d50c1822 Huge set of optimizations, please test! 2003-11-26 22:52:25 +00:00
Garvin Hicking
ca7836a684 Fixed transformation system now accepting '.php3' files and using the '.php' pendants. Make use of 's' RegEx pattern modifier. Fixed small (but impacting) typo. 2003-11-25 20:30:12 +00:00
Garvin Hicking
c2b46ac945 Final batch of PHP3-Compatibility fixes. Please test. :-) 2003-11-22 20:57:48 +00:00
Michal Čihař
6884f9701a no more support for php3 2003-11-18 15:20:45 +00:00