Rahul Kadyan
4d308ba364
Remove unneeded closing tags
...
Closing tags at the end of file are not mandatory. It is often
suggested to omit to closing tags at the end of file to prevent
unwanted effects as PHP will start output buffering if there is
any character after closing tag.
Reference: http://php.net/manual/en/language.basic-syntax.phptags.php
Signed-off-by: Rahul Kadyan <hi@znck.me>
2015-03-06 23:37:35 +05:30
Madhura Jayaratne
8403bd6c7e
rfe #1235 Relation view: move to main "Structure" page
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-02-09 12:07:43 +05:30
Marc Delisle
15c13e613c
Fix code execution path warning
...
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-11-03 13:27:29 -05:00
Madhura Jayaratne
91b21184ba
Use post params directly
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-03 21:24:21 -08:00
Madhura Jayaratne
f65871c100
Success message for display column change. Update display column in the database only if it has changed from the original value.
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-03 21:03:09 -08:00
Madhura Jayaratne
15a806824f
Success message for internal relations
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-11-03 20:18:09 -08:00
Madhura Jayaratne
efa06c360b
Function does not handle null values even if it was documented to handle them
...
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-10-04 19:13:34 +05:30
Ashutosh Dhundhara
60610f9b83
Fix issues reported by Scrutinizer.
...
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-08-17 02:20:05 +05:30
Ashutosh Dhundhara
9191c1aa4e
Bug#4511: QBE fails to generate LEFT join for InnoDB foreign keys in absence of configuration storage.
...
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-08-11 03:58:19 +05:30
Ashutosh Dhundhara
508f0a752b
RFE#919: Multiple-column foreign key relation.
...
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Fix missing master column.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Fix failing test.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Fix coding styles.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Fix function doc.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
Fix coding styles.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-08-01 19:50:12 +05:30
Ann + J.M
ec1943b0ed
tbl_relation.php: check if $existrel_foreign is defined before using it
...
Signed-off-by: Ann + J.M <phpMyAdmin@ZweiSteinSoft.de>
2014-02-03 14:16:54 +01:00
Dieter Adriaenssens
c6c3883ff4
fix coding style : indentation
2013-09-06 17:37:52 +02:00
Spun Nakandala
ae6e495458
remove global variables and use super global variables
2013-08-30 21:51:11 +05:30
Spun Nakandala
207ee1ffc3
errors corrected
2013-08-29 21:58:35 +05:30
Spun Nakandala
bf2c85c877
added method PMA_handleUpdateForForeignKey
2013-08-29 21:45:15 +05:30
Spun Nakandala
73380973be
added method PMA_handleUpdatesForForeignKeys
2013-08-28 20:47:55 +05:30
Spun Nakandala
011ec24ef5
added methods PMA_handleUpdatesForInternalRelations, PMA_getQueryForInternalRelationUpdate
2013-08-28 20:00:01 +05:30
Spun Nakandala
e7cca79a19
added methods PMA_handleUpdateForDisplayField, PMA_getQueryForDisplayUpdate
2013-08-28 13:34:36 +05:30
Spun Nakandala
864d21a391
added methods PMA_sendHtmlForTableOrColumnDropdownList, PMA_sendHtmlForColumnDorpdownList, PMA_sendHtmlForTableDropdownList
2013-08-28 13:03:10 +05:30
Spun Nakandala
6a2bf642be
extracted methods from tbl_relation.php to tbl_relation.lib.php for rendering html
2013-08-28 12:38:35 +05:30
Michal Čihař
0a3d1d5be8
Better names for URL generating functions
2013-08-07 10:58:17 +02:00
Michal Čihař
d1bb142e87
Remove unused param from PMA_Util::showMySQLDocu
2013-08-07 08:48:50 +02:00
Marc Delisle
6734b64056
Add hints for the new relational view dropdowns
2013-06-26 13:03:28 -04:00
Kasun Chathuranga
247e79b840
Merge branch 'master' into relView
...
Conflicts:
tbl_relation.php
2013-06-25 00:27:17 +05:30
Spun Nakandala
23b7f42a16
functions in the tbl_relation.php added to a new file libraries/tbl_relation.lib.php
2013-06-24 01:31:56 +05:30
Kasun Chathuranga
05e8465324
Pass parameter values without backquotes to avoid confusions
2013-06-19 10:49:57 +05:30
Kasun Chathuranga
1e0e37c14a
Improved relation view interface
2013-06-19 09:38:35 +05:30
Madhura Jayaratne
3dd99512f0
These constants are better as a part of DatabaseInterface class
2013-05-26 21:15:24 +05:30
Madhura Jayaratne
650a8cdda3
Convert database interface to a class
2013-05-24 17:30:59 +05:30
Kasun Chathuranga
556bcb9f9d
PMA_DBI_num_rows --> PMA_DBI_numRows
2013-05-04 08:39:43 +05:30
Kasun Chathuranga
a242ed1ae5
PMA_DBI_fetch_row --> PMA_DBI_fetchRow
2013-05-04 08:31:22 +05:30
Kasun Chathuranga
6b1f6ae046
Merge branch 'master' into DBI_naming_cleanUp
...
Conflicts:
libraries/database_interface.lib.php
libraries/db_table_exists.lib.php
libraries/relation.lib.php
libraries/rte/rte_triggers.lib.php
libraries/schema/Dia_Relation_Schema.class.php
libraries/schema/Visio_Relation_Schema.class.php
tbl_addfield.php
2013-05-01 00:51:15 +05:30
Kasun Chathuranga
32e6c06324
PMA_DBI_get_columns --> PMA_DBI_getColumns
2013-04-30 23:36:47 +05:30
Kasun Chathuranga
d933575811
PMA_DBI_try_query --> PMA_DBI_tryQuery
2013-04-30 23:05:18 +05:30
Michal Čihař
2fbb4cee0d
Consistently include colon in strings to translate
...
In some languages this makes difference in translating, so it's better
to give translators full context.
2013-04-25 14:22:31 +02:00
Madhura Jayaratne
466a7645c7
PHP keywords must be lowercase
2013-04-12 21:45:02 +05:30
Madhura Jayaratne
cdb85e28cf
Display the error returned by MySQL rather than the ambiguous "Error" message.
2013-03-28 18:56:37 +05:30
Madhura Jayaratne
b3db1f0d6f
Change mysqlDie() to return the error message when $exit parameter is false
2013-03-28 17:34:40 +05:30
Madhura Jayaratne
daab514238
Bug #3858 Incomplete error message when creating a foreign key constraint
2013-03-28 15:34:31 +05:30
Madhura Jayaratne
aebceda7ac
#3861 Errors while editing foreign constraints
2013-03-26 19:59:48 +05:30
Samith Dassanayake
b8af18053f
No need to offer index maintenance if foreign key is not supported
2013-03-22 07:59:13 -04:00
Mohamed Ashraf
678a879540
Removed useless code
2013-03-21 21:15:23 +02:00
Mohamed Ashraf
0a00de92a0
Added the index form to the end of the page
2013-03-21 14:38:12 +02:00
Dieter Adriaenssens
7484db1dbf
wrap long lines
2013-03-14 13:52:32 +01:00
Dieter Adriaenssens
f107616805
wrap long lines
2013-03-14 13:37:16 +01:00
Dieter Adriaenssens
37ab7877b0
fix coding style : add space between if and parenthesis
2013-03-14 13:37:16 +01:00
Marc Delisle
705fd3f79c
Localize message
2013-02-28 08:29:29 -05:00
Manuj Jain
42532fd540
Contest 5: Naming foreign key constraints
2013-02-27 09:58:19 +05:30
Dieter Adriaenssens
92fd7acf79
improve docblock
2013-01-25 16:48:35 +01:00
Dieter Adriaenssens
8fa8527bf6
cleanup whitespace
2013-01-25 16:46:55 +01:00