Commit Graph

267 Commits

Author SHA1 Message Date
Michal Čihař
31a1167f19 End sentence with a stop 2013-07-12 14:58:09 +02:00
Michal Čihař
c0ce163e05 Drop some unused local variables
Found by PMD on our CI server
2013-07-10 14:53:05 +02:00
Marc Delisle
3e261e8c83 Fix typo 2013-06-23 15:22:05 -04:00
ayushchd
52c9617887 Group string type functions into classes, fix resp. tests 2013-06-21 00:15:29 +05:45
ayushchd
2e542c4f95 Group native and mb string functions into classes 2013-06-20 12:30:04 +05:45
Marc Delisle
27f5ec3b57 Merge pull request #428 from scnakandala/gsoc_2013
Refactoring SQL executor
2013-06-16 04:54:54 -07:00
Spun Nakandala
ac2dcec785 changed such that $first_reserved_word is checked for the reserved word SHOW 2013-06-15 22:04:32 +05:30
Spun Nakandala
00a3354499 changed to look the $first_reserved_word rather than any $upper_data 2013-06-15 20:55:56 +05:30
Spun Nakandala
7cecc2f23d code related to analyzing the sql query transferred to the sql analyzer 2013-06-15 14:50:31 +05:30
Marc Delisle
f4f710a3e2 - Fix typo
- Frames are gone!
2013-06-13 17:10:54 -04:00
Spun Nakandala
6f8152857b error corrected 2013-06-14 02:02:15 +05:30
Spun Nakandala
adf26c5223 documentation added for new queryflags (reload, drop_database) 2013-06-13 23:06:32 +05:30
Spun Nakandala
ae9ff0a8be check for drop database transfered to sql parser 2013-06-13 23:00:06 +05:30
Spun Nakandala
653bc9bd2c Checking for reload the navigation transfered to the sql parser 2013-06-13 23:00:04 +05:30
Marc Delisle
3216740323 No longer need to confirm at the PHP level 2013-06-13 12:34:05 -04:00
Marc Delisle
25a3a03e0c Merge pull request #415 from scnakandala/gsoc_2013
Refactoring SQL executor
2013-06-13 09:20:43 -07:00
Spun Nakandala
ca8d81b95c PMA_isDropDatabase($sql_query) method added to sqlparser.lib.php 2013-06-12 22:05:24 +05:30
xmujay
d23aad1d5b refactor mysql_charsets.inc.php 2013-06-11 13:25:54 +08:00
Marc Delisle
5fffdca3aa Parser: remove the color (html) mode 2013-05-30 07:54:05 -04:00
Marc Delisle
b8e4f346a5 Clarify function name 2013-05-26 11:34:43 -04:00
Marc Delisle
b2a8343670 Rename function reference 2013-05-26 11:14:23 -04:00
Michal Čihař
e38cb0126f Wrap some long lines 2013-05-10 10:23:53 +02:00
Dieter Adriaenssens
c69adf736e fix coding style : opening parenthesis for function declaration should be on a new line 2013-03-14 11:43:19 +01:00
Spun Nakandala
a0dc226332 Contest-3 bug fixed 2013-03-06 14:51:27 +05:30
Dieter Adriaenssens
ed94a77259 remove unused variables 2013-01-24 17:31:07 +01:00
Chanaka Indrajith
13208324d3 Removed unnecessary empty lines in functions 2012-09-19 00:15:15 +05:30
Chanaka Indrajith
e6894be57f Renamed ->method() with PMA_Util::method() 2012-09-16 14:35:45 +05:30
Chanaka Indrajith
0829709064 Remove variable 2012-09-16 14:31:22 +05:30
Dieter Adriaenssens
1174ca3b4f fix coding style 2012-09-02 20:00:40 +02:00
Madhura Jayaratne
35f29764f0 Fix multi line conditions 2012-08-30 22:35:56 +05:30
Chanaka Indrajith
766466135e Implement class behavior of common.lib.php file 2012-06-22 23:38:33 +05:30
Michal Čihař
02c2d380a4 Wrap some long lines 2012-05-30 09:17:34 +02:00
Michal Čihař
f6621b31e2 Coding style improvements 2012-05-29 15:20:31 +02:00
Michal Čihař
b684de82e0 Fix indentation 2012-05-29 15:13:21 +02:00
Michal Čihař
1327d0c512 Remove unused code 2012-05-29 15:13:02 +02:00
Michal Čihař
bdc8c46489 Fix indentation 2012-05-29 15:12:51 +02:00
Michal Čihař
354231114f Add missing phpdoc directives 2012-05-29 15:11:14 +02:00
Michal Čihař
68877049dd Fix typo 2012-05-29 15:09:59 +02:00
Michal Čihař
1be8a0f73c Fix typo 2012-05-29 15:09:06 +02:00
Michal Čihař
600979f446 Fix docs 2012-05-29 14:20:11 +02:00
Michal Čihař
c0ff61f8da Document PMA_SQP_arrayAdd 2012-05-29 14:15:21 +02:00
Michal Čihař
da452baa11 Debug variant is not used and not documented how to use that 2012-05-29 14:12:25 +02:00
Michal Čihař
bcab4bfe25 Fix indentation 2012-05-29 14:10:52 +02:00
Michal Čihař
d3640d0e39 Use require for unconditional inclusion 2012-05-29 14:10:28 +02:00
Michal Čihař
ec541309eb Fix indentation after if() removal 2012-05-29 14:08:07 +02:00
Michal Čihař
c315d33513 SQL parser is now loaded only without PMA_MINIMUM_COMMON defined 2012-05-29 14:07:49 +02:00
Michal Čihař
e316c37598 Move query parser CSS generating to theme 2012-05-29 14:06:10 +02:00
Michal Čihař
962c523a15 Fix phpdoc formatting 2012-05-29 14:03:27 +02:00
Marc Delisle
9a00dafc04 Remove BUG tag in comment 2012-05-02 13:58:53 -04:00
Dieter Adriaenssens
68fe78a42a fix function definition 2012-04-29 01:09:09 +02:00
Dieter Adriaenssens
b14acc2e1c fix indentation 2012-04-28 22:44:03 +02:00
Madhura Jayaratne
4b8d52d937 Fix CheckStyle warnings, Type:CloseBracketNewLine (Closing parenthesis of a multi-line IF statement must be on a new line) 2012-04-22 21:28:41 +05:30
Jo Michael
6ba62e1b2d Replaced "seperator" with "separator" 2012-04-07 20:23:22 +02:00
Dieter Adriaenssens
e482a94305 improve coding style 2012-03-14 16:43:26 +01:00
Madhura Jayaratne
35b18e57a2 Coding style improvements - Multiline assignments 2011-12-07 23:28:50 +05:30
Michal Čihař
e56949f160 Use package name PhpMyAdmin
Needed to match phpdoc rules as package name must begin with upper case.
2011-10-25 10:13:17 +02:00
Madhura Jayaratne
9bcb83af03 File is being conditionally included; use "include" instead 2011-09-23 10:56:30 +05:30
Dieter Adriaenssens
45aac8dbf4 coding style 2011-08-11 21:37:36 +02:00
Michal Čihař
3906320844 Unused variable 2011-08-09 07:37:24 +02:00
Michal Čihař
d6a0741cf8 Check for correct variable 2011-08-09 07:37:08 +02:00
Michal Čihař
ed1519ee76 Fix indentation of some code blocks 2011-08-08 17:33:10 +02:00
Michal Čihař
f5cdef3db8 No need to mention requirements 2011-08-08 17:17:34 +02:00
Michal Čihař
aceefcb23e Avoid three calls of same PMA_substr 2011-08-08 17:15:59 +02:00
Michal Čihař
3228a5b761 Avoid using GLOBALS referenced functions
This actually makes performance because it needs extra lookup in
globals.
2011-08-08 17:08:53 +02:00
Michal Čihař
53f9d89fbd Wrap some long lines 2011-08-08 16:59:31 +02:00
Michal Čihař
4a2cedf720 Adjust switch blocks to PEAR coding standards 2011-08-08 16:26:50 +02:00
Michal Čihař
98cff52cf8 Fix indentation in few places 2011-08-02 15:54:52 +02:00
Michal Čihař
bf9def5d50 Wrap some long lines 2011-07-22 09:29:41 +02:00
Michal Čihař
236582fb4f Fix mistakenly broken regexp 2011-07-22 09:25:14 +02:00
Michal Čihař
9405dbb82a Fix spacing after @param 2011-07-22 09:21:55 +02:00
Michal Čihař
25bda8e991 Fix spacing on opening code block 2011-07-22 09:18:02 +02:00
Michal Čihař
97daa89610 Remove double spaces around else 2011-07-21 11:32:52 +02:00
Rouslan Placella
1f54fa2f16 Merge branch 'QA_3_4' 2011-06-21 20:39:53 +01:00
Rouslan Placella
9e224184d7 Fixed bug #3323101 - Invalid escape sequence in SQL parser 2011-06-21 20:38:42 +01:00
Rouslan Placella
c2dd99965d Fixed bug #3323060 - SQL parser breaks AJAX requests if query has unclosed quotes 2011-06-21 20:33:32 +01:00
Piotr Przybylski
90099b7b5d Remove PMA_STR_binarySearchInArr in favor of isset and in_array 2011-06-08 19:23:58 +02:00
Michal Čihař
41376df2b0 Properly end multi word links 2011-06-06 16:36:57 +02:00
Michal Čihař
91c16608f8 Documentation for other reserved words 2011-06-06 16:33:22 +02:00
Michal Čihař
55d8b1efa0 Add documentation links to function names 2011-06-06 16:21:23 +02:00
Michal Čihař
9b0b9b0b59 Move doc back to correct place 2011-06-06 16:13:33 +02:00
Michal Čihař
0c964ca10b Provide doc links for operators 2011-06-06 16:12:33 +02:00
Michal Čihař
cbd0b7d8f7 Merge branch 'integration'
Conflicts:
	libraries/sqlparser.lib.php
2011-06-06 15:54:29 +02:00
Mateusz Lewandowski
6c6ae1c1cc Better names for some variables 2011-06-06 15:51:02 +02:00
Michal Čihař
3cf4830bbb Replace TRUE/FALSE with true/false.
At least this seems to be the coding standard, so make all files
compliant.
2011-06-06 11:55:09 +02:00
Piotr Przybylski
8b47a1dbd4 Remove $mysql_charsets_count and $mysql_collations_count 2011-06-06 00:31:52 +02:00
Piotr Przybylski
610614c95f Removed global variables with array counts in sqlparser.lib.php 2011-06-06 00:25:52 +02:00
Michal Čihař
5687ac290e Add missing operator 2011-05-11 14:00:24 +02:00
Michal Čihař
88ff8be6af Add missing operator 2011-05-11 14:00:10 +02:00
Marc Delisle
e6211f0c2f Other replacements for easier reading 2011-05-09 12:57:28 -04:00
Marc Delisle
13b31956ae For easier reading, replace "!isset" with "! isset" 2011-05-09 12:49:05 -04:00
Marc Delisle
baf339f802 Continue to replace warning level with error level 2011-05-04 06:14:28 -04:00
Michal Čihař
b47903e03f Fix indentation 2011-04-18 17:01:32 +02:00
Dieter Adriaenssens
5d915f1ff6 Merge branch 'QA_3_3'
Conflicts:

	libraries/sqlparser.lib.php
2010-12-13 21:36:51 +01:00
Dieter Adriaenssens
8afdcbe2b8 bug #3127904, Close all opened round brackets indents 2010-12-13 21:18:33 +01:00
Marc Delisle
79f320e951 remove author names 2010-12-04 06:41:10 -05:00
Dieter Adriaenssens
3a3ac7caab bug #3077454, don't apply inner_sql span to query_only mode, this breaks copying databases and rowcount of queries 2010-10-04 20:49:05 +02:00
Michal Čihař
0431042bd0 Drop $Id$ expansion, nobody complained so far it not working. 2010-09-07 15:00:44 +02:00
Michal Čihař
4f487780a0 bug #3042665 [parser] Add workaround for MySQL way of handling backtick. 2010-08-30 17:19:11 +02:00
Michal Čihař
68e1ff3798 Do not fail if parsing query has failed. 2010-08-30 17:19:11 +02:00
Michal Čihař
8ce53e5bc8 Not used anywhere. 2010-08-30 17:19:11 +02:00