Commit Graph

52 Commits

Author SHA1 Message Date
Hugues Peccatte
08cdf6f2fd Merge branch 'master' into psr1_master 2015-11-08 16:16:05 +01:00
Marc Delisle
03d3c30eea Clarify logic
See https://github.com/dseguy/clearPHP/blob/master/rules/no-implied-if.md

Signed-off-by: Marc Delisle <marc@infomarc.info>
2015-11-05 15:13:35 -05:00
Hugues Peccatte
dffc8c34e9 Remove logic code in declaration files.
Move declaration out of logic file.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-27 18:56:39 +01:00
Hugues Peccatte
8ac9634c7a Make PHPCS happy.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-10-24 13:30:22 +02:00
Hugues Peccatte
6c8c288067 Merge remote-tracking branch 'origin/master' into useNamespaces_master 2015-09-29 21:19:57 +02:00
Madhura Jayaratne
257487df03 Add comments. Improved handling of partition restrictions
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-28 09:51:56 +10:00
Madhura Jayaratne
7c325469d5 Fix #11490 UI for defining partitioning in create table window
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-09-25 14:44:28 +10:00
Hugues Peccatte
0761fb1801 Rename classes files.
Rename classes.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:30:21 +02:00
Hugues Peccatte
f0ba28fc1d Set namespace on Advisor, Config, Console and Util classes.
Set namespace on DbQbe.
Set namespace to 'DbSearch'.
Split Advisor.class.php file.
Change Advisor namespace.
Rename DbQbe class and file.
Set namespace on DisplayResults.
Set namespace on Error.
Use namespace for ErrorHandler.
Add class autoloader.
Change ErrorHandler filename.
Remove some require.
Update Config namespace path.
Update PMA_Util to PMA\libraries\Util.
Rename Font and File classes files.
Use namespace for Footer.
Set namespace in all libraries classes.
Namespace OutputBuffering.
Export SubPartition.
Rename Partition file.
Namespace PDF.
Namespace RecentFavoriteTable.
Replace PMA_Response by Response and PMA_Message by Message.
Update uses and calls.
Fix unit tests.
Fix SqlParser autoload.

Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:22:52 +02:00
ZhiFeng Hu
0c56d0b9bb
Strict check for create_addfield.lib.php
Signed-off-by: ZhiFeng Hu <hufeng1987@gmail.com>
2015-08-04 12:13:03 +08:00
Madhura Jayaratne
5cbebb36ba Merge branch 'QA_4_4'
Conflicts:
	ChangeLog
	README
	doc/conf.py
	libraries/Config.class.php
2015-07-22 10:24:02 +05:30
Madhura Jayaratne
36423d6ebd issue #1808 "Improve table structure" generates invalid SQL
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-22 10:14:04 +05:30
Dan Ungureanu
91b97fadc2 Remove unneeded closing tags.
Signed-off-by: Dan Ungureanu <udan1107@gmail.com>
2015-07-19 00:18:38 +03:00
Madhura Jayaratne
a3285a7cd3 Support MySQL 5.7.5 virtual columns
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-07-13 15:14:15 +05:30
Madhura Jayaratne
40da17ab72 rfe #1677 Support spatial indexes in table create form
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-06-03 17:41:15 +05:30
Madhura Jayaratne
04ff48369c Use index parameters defined in create table form
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-03-20 22:07:53 +05:30
RAKESH KUMAR
cf2f80aa4a Feature request #723
Signed-off-by: RAKESH KUMAR <rakeshkumar4294@gmail.com>
2015-02-09 01:46:07 +05:30
Madhura Jayaratne
28d3f2a1fc rfe #1096 cannot enter connection for federated engine table
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-30 12:08:51 +05:30
Madhura Jayaratne
05c5ba753c Distinguish between index type and index choice
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2015-01-28 11:50:21 +05:30
Smita Kumari
e0e3c0e84f FRE #1568: fold add column position radio into one 'add column after' dropdown
Signed-off-by: Smita Kumari <kumarismita62@gmail.com>
2015-01-13 20:24:56 +05:30
Marc Delisle
0b8d3dc55e Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-31 07:14:38 -05:00
Marc Delisle
1b28bc6d2e Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-31 06:35:45 -05:00
Marc Delisle
b5512e6183 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-30 08:41:48 -05:00
Marc Delisle
371780a0a1 Remove dead code
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-12-23 11:32:10 -05:00
Rakesh Kumar
8415dd4d35 fix bug #4659: trim white spaces
Signed-off-by: Rakesh Kumar <rakeshkumar4294@gmail.com>
2014-12-21 00:55:20 +05:30
Marc Delisle
2662295765 Refactor code duplication
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-10-26 09:59:48 -04:00
Hugues Peccatte
5985894160 Fix typos.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2014-09-07 00:31:45 +02:00
Ashutosh Dhundhara
91e9a4d46c RFE#908: Improvements for the table editor (index creation).
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix coding styles.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Make index columns sortable.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix failing test.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>

Fix drag icon in Firefox.

Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-07-22 15:29:06 +05:30
Ashutosh Dhundhara
1204d23592 Bug #4458: Preview doesn't work when adding a new column.
Signed-off-by: Ashutosh Dhundhara <ashutoshdhundhara@yahoo.com>
2014-06-16 22:05:08 +05:30
Marc Delisle
673fce8145 Fix coding style
Signed-off-by: Marc Delisle <marc@infomarc.info>
2014-06-03 12:33:25 -04:00
Chanaka Indrajith
7c88895d99 Fixed documentation issue related to argument type mismatching in create_addfield.lib.php file raised by scrutinizer
Signed-off-by: Chanaka Indrajith <pe.chanaka.ck@gmail.com>
2014-05-17 17:27:12 +05:30
Michal Čihař
b3700d3450 Remove unused code
Signed-off-by: Michal Čihař <michal@cihar.com>
2014-05-09 14:18:06 +02:00
Madhura Jayaratne
6335b10574 Fix coding style
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
2014-01-08 14:35:15 +05:30
Hugues Peccatte
008b1fa8d3 Rewrite to decrease number of nested levels.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2013-12-07 22:16:16 +01:00
Madhura Jayaratne
20608589c3 Remove trailing white spaces 2013-10-19 14:29:05 +05:30
Spun Nakandala
c9e2c9ac93 removed dead code. extracted method PMA_tryColumnCreationQuery 2013-09-14 20:07:06 +05:30
Dieter Adriaenssens
a329ebee4e fix multiple parameter comment issues 2013-09-09 18:19:00 +02:00
Marc Delisle
c024c77f15 Improve comments 2013-08-19 20:28:56 -04:00
Marc Delisle
86031eff1d Merge pull request #617 from scnakandala/refac_tbl_create
Refactoring tbl_create.php
2013-08-19 17:24:47 -07:00
Spun Nakandala
09fd49c4d7 "Add 1 column(s) Go" Error corrected 2013-08-20 00:02:51 +05:30
Spun Nakandala
f5b20c9828 phpcs errors corrected 2013-08-17 00:22:08 +05:30
Spun Nakandala
4d988516bf added method PMA_getTableCreationQuery 2013-08-17 00:16:04 +05:30
Spun Nakandala
dfb6cdb4ad added method PMA_getNumberOfFieldsFromRequest 2013-08-17 00:05:02 +05:30
ayushchd
5544ad9572 Fix double addition of PRIMARY KEY index in SQL 2013-08-15 14:49:16 +05:30
Michal Čihař
8defb7669d Missing param doc 2013-07-30 14:01:14 +02:00
Michal Čihař
6765e87ba5 Pass forgotten parameter 2013-07-10 14:53:04 +02:00
Marc Delisle
b07df01340 Code cleanup 2013-05-15 10:21:08 -04:00
Marc Delisle
144b5040cc Fix typo 2013-05-15 10:19:46 -04:00
Samith Dassanayake
9746f07ae9 Fixed typos. 2013-05-15 19:33:30 +05:30
Samith Dassanayake
485d104662 Renamed the function names, using "column" instead of "field".
Corrected indentation according to cording standards.
2013-05-14 22:48:51 +05:30