Commit Graph

73 Commits

Author SHA1 Message Date
Sebastian Mendel
9b7f22ae50 cleanup
moved relation function into relation library file
(some of the changes where checked in with previous checkin by accident)
2007-10-16 15:00:51 +00:00
Sebastian Mendel
d9eebc2ae0 removed closing of db connection, closing database connection is only required if script runs longer than database connection is needed 2007-10-16 14:02:16 +00:00
Sebastian Mendel
a42354c9d0 removed MySQL < 5 code;
new own function for getting db comment;
remove code for getting column comments from PMA db;
2007-10-02 14:14:59 +00:00
Marc Delisle
111e7b046c refactoring 2007-09-29 13:45:35 +00:00
Marc Delisle
5c70b88927 problem between tbl_change and get_foreign.lib.php so start to remove this library 2007-09-19 17:06:43 +00:00
Marc Delisle
8eb4d37fe2 XHTML fixes 2007-09-02 19:23:59 +00:00
Marc Delisle
9f9da6d7ac do not use controllink for this one 2007-03-26 16:13:44 +00:00
Sebastian Mendel
ae4f0d37dd typos 2007-03-26 09:49:43 +00:00
Sebastian Mendel
c9a7e3040c documentation, backticks in SQL, minor tweaks 2007-03-26 09:34:37 +00:00
Sebastian Mendel
f15108e242 fixed missing check for 'historywork' 2007-03-26 06:45:20 +00:00
Marc Delisle
429a428ecd bug #1614004 [relation] foreign key spanning multiple columns are incorrectly displayed 2007-03-25 12:35:04 +00:00
Sebastian Mendel
c8cfbaff7a now really store it ... 2007-03-22 15:48:49 +00:00
Sebastian Mendel
2fe8c36bd7 fixed endless cycle (introduced by Revision: 10178) 2007-03-22 15:44:32 +00:00
Sebastian Mendel
77ba966984 documentation;
make use of session for SQL history;
PMA_getRelationsParam caches result, to speed up multiple calls;
smaller improvements;
all functions are self responsible for getting $cfgRelation and validate it - no need to check before function call;
2007-03-22 14:47:58 +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
Michal Čihař
fb9a3a598e Check before commit! 2006-11-17 08:49:30 +00:00
Marc Delisle
d5d8aef10f bug #1437754, search combos default to key zero 2006-02-24 20:31:45 +00:00
Sebastian Mendel
ac9d8b21a3 check if $cfg['Server']['pmadb'] really exists and is selectable, minor tweaks and formating 2006-02-21 15:31:37 +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
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
Sebastian Mendel
16a71a194e added database name to relation querys 2005-12-17 17:36:58 +00:00
Sebastian Mendel
5b9cab5a91 check magic_quotes only once in common.inc.php 2005-12-12 14:28:28 +00:00
Marc Delisle
9cc77d6ecb bug #1370785, error browsing a table under PHP 4 when no controluser is defined but a pmadb is defined 2005-12-10 15:51:38 +00:00
Sebastian Mendel
b755b20bde uninitialized variable 2005-11-23 17:34:44 +00:00
Marc Delisle
3885bb6bd7 dbh becomes controllink 2005-11-20 14:00:49 +00:00
Marc Delisle
6f7d44b596 already a function to do the job 2005-10-23 12:15:15 +00:00
Marc Delisle
4373f1ae3c sort id-content by id and content-id by content 2005-10-21 20:06:32 +00:00
Michal Čihař
b654a24543 Do not set database if not needed. 2005-10-18 14:53:36 +00:00
Michal Čihař
a841d13500 Do not try to restore database as control user, it has to fail. 2005-10-08 18:27:48 +00:00
Michal Čihař
96722c24f4 fix undefined variable warning 2005-10-08 17:53:31 +00:00
Michal Čihař
ae6aa68843 Fix reading native MySQL comments when no phpMyAdmin one defined (bug #1312758). 2005-10-08 17:41:23 +00:00
Michal Čihař
c62f975a47 Use common code for CREATE/ALTER TABLE, set comments on creating table, so that user can see it in the query. 2005-10-08 17:28:31 +00:00
Marc Delisle
171613c0d0 bug #1262250, cannot change ENUM default value to empty 2005-09-28 11:50:50 +00:00
Marc Delisle
8f9b686e20 for the new ForeignKeyDropdownOrder, id and content were reversed (id-content showed content then id) 2005-07-22 18:01:37 +00:00
Robin Johnson
131866b448 Support for customizing foreign-key dropdown, take #2, now very customizable,
incl max item limit.
2005-06-23 14:16:33 +00:00
Robin Johnson
3576fd016a Allow selection of drop-down order. 2005-06-22 16:45:17 +00:00
Marc Delisle
8ddcb6d302 create table and TIMESTAMP options 2005-03-31 21:54:36 +00:00
Marc Delisle
c021e6b464 bug #1170549 Adding fields NOT NULL under MySQl 4.1 2005-03-28 01:22:45 +00:00
Alexander M. Turek
456a26f636 information_schema relations 2005-03-27 23:26:00 +00:00
Alexander M. Turek
96fff6fe00 Removed recoding function calls from controluser queries as they do not depend on the connection charset anymore. 2005-03-25 14:05:24 +00:00
Alexander M. Turek
a4a372597d bug #1159415 2005-03-10 21:40:44 +00:00
Marc Delisle
c84507f8d9 problem with getting comments when creating a new table under MySQL 4.1.x with extension mysql 2005-03-10 19:49:09 +00:00
Marc Delisle
41ae394e2e bug #1159415, data dictionary broken 2005-03-09 16:06:10 +00:00
Marc Delisle
287af827e5 bug 1157972, db comments broken 2005-03-07 14:56:26 +00:00
Marc Delisle
e430651d24 native comments 2005-03-06 12:33:19 +00:00
Marc Delisle
9bef31439e native comments 2005-03-05 23:21:25 +00:00
Alexander M. Turek
fa8541025e Code redundancy 2005-01-11 21:11:23 +00:00
Michal Čihař
fbd56678f8 CONVERT is for MySQL >= 4.1 and not for MySQL >= 4.0. 2004-08-16 15:19:15 +00:00