Commit Graph

192 Commits

Author SHA1 Message Date
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
Michal Čihař
a6ba984504 Start testcase for SQL parser. 2010-08-30 15:53:00 +02:00
Michal Čihař
fdb0d32df4 Merge branch 'QA_3_3' 2010-08-30 14:18:02 +02:00
Michal Čihař
4a234050f2 bug #3054458 [core] Fixed displaying number of rows. 2010-08-30 14:17:51 +02:00
Michal Čihař
d17fba309c Fix permissions.
Most files were made executable somewhere in ninadsp tree, reverting
this.
2010-08-30 09:53:37 +02:00
ninadsp
c9253c0a0e Merge conflict resolved for Lori's tree merge to main 2010-08-22 12:42:54 +05:30
Marc Delisle
22eaa592ca unused code 2010-08-20 08:43:09 -04:00
Michal Čihař
862e3ca2a7 Merge branch 'QA_3_3'
Conflicts:
	libraries/core.lib.php
	server_databases.php
	server_privileges.php
2010-08-20 13:40:37 +02:00
Michal Čihař
d2e0e09e0d Fix XSS with $cfg['SQP']['fmtType'] = 'text'. 2010-08-20 10:38:32 +02:00
ninadsp
e646a2760c Fixed conflict due to upstream merge 2010-07-23 21:59:15 +05:30
Michal Čihař
318dc4b650 Drop @version tag from docblocks. 2010-07-20 13:59:17 +02:00
ninadsp
a8d6f9ff4c Merge remote branch 'origin/master' 2010-06-15 15:39:51 +05:30
Marc Delisle
485e1736b6 make inline editing work for all cases of fmtType 2010-06-12 08:45:24 -04:00
ninadsp
160f4314eb Merge remote branch 'origin/master' 2010-06-03 22:34:52 +05:30
Marc Delisle
d18a3eb3c0 Merge branch 'QA_3_3' 2010-05-30 08:44:33 -04:00
Marc Delisle
cfcec687fa bug #2986383 Not all data being shown / counted 2010-05-30 08:43:41 -04:00
ninadsp
bed1948d04 testing git setup - no major change made in code yet
only added a few comments
2010-05-23 01:22:01 +05:30
Marc Delisle
2182098af6 strings to gettext, second batch 2010-05-04 20:07:19 -04:00
Marc Delisle
819324ede6 remove author names, as discussed at the 2010 developer meeting and according to the book Producing Open Source Software 2010-03-06 18:04:17 +00:00
Michal Čihař
1cdc4cc50a bug #2954916 [interface] Do not insert doc links to not formatted SQL. 2010-02-25 09:11:42 +00:00
Michal Čihař
0db3297b09 No link for SET in CHARACTER SET. 2010-01-26 22:15:13 +00:00
Michal Čihař
a26d2f0934 Add documentation links to types. 2010-01-22 18:36:07 +00:00
Michal Čihař
46a2a4e0ba [interface] Provide links to documentation in highlighted SQL. 2010-01-22 18:35:38 +00:00
Marc Delisle
526dce65cb 3.3 2009-12-31 13:11:19 +00:00
Marc Delisle
f3833884e4 3.3 2009-12-31 13:09:18 +00:00
Marc Delisle
58d880b6ab bug #2897536 [parser] Copying table with bit field with default 2009-11-15 13:50:32 +00:00
Marc Delisle
ad48d9f31c bug #2895894 [structure] Empty default value not set properly 2009-11-13 11:14:10 +00:00
Marc Delisle
a4dcf806cc parser should return an array in case of errors, thanks to Thomas Pulickal 2009-09-17 17:05:14 +00:00
Marc Delisle
08c6c4a57d patch #2859788 [parser] Double-character delimiters (bug #2846239) 2009-09-17 16:51:28 +00:00
Marc Delisle
2a1077ff43 bug [export] Exporting results of a query which contains a LIMIT clause inside a subquery 2009-08-29 11:41:26 +00:00
Marc Delisle
708a763680 patch #2750541 [parser] Incorrect parsing of constraints in ALTER TABLE 2009-04-19 11:31:14 +00:00
Marc Delisle
d468dd99e3 bug #2027720 [parser] Missing space after BINARY used as cast 2009-01-18 12:20:16 +00:00
Marc Delisle
398feb40fd patch #2407785 [cleanup] ereg*() deprecated in PHP 5.3 2008-12-14 13:58:06 +00:00
Michal Čihař
e1c909326f Convert comments to doc block. 2008-11-24 11:11:41 +00:00
Michal Čihař
56941e509c Adding @package, second part. 2008-11-24 11:05:40 +00:00
Marc Delisle
4c66210e88 Cannot sort twice on a column when the table name contains accents 2008-09-11 17:03:49 +00:00
Marc Delisle
11f1379891 bug #2074250 [parser] Undefined variable seen_from 2008-08-28 16:17:53 +00:00
Marc Delisle
28634dd473 dead code 2008-08-04 16:32:47 +00:00
Marc Delisle
92a26af9bb remove wrapper function 2008-07-11 15:32:51 +00:00
Marc Delisle
403b59f8f0 bug #1970836 [parser] SQL parser is slow, thanks to Christian Schmidt 2008-07-11 13:33:31 +00:00
Marc Delisle
fe78d240bb b to strong, and remove bold for MySQL charset 2008-07-09 15:24:44 +00:00
Marc Delisle
544831fda7 patch #2007196, Typos in comments, thanks to knittl - knittl 2008-07-01 19:21:28 +00:00
Marc Delisle
afbb2a9dc2 protection against XSS when register_globals is on and .htaccess has no effect 2008-06-21 15:01:27 +00:00
Marc Delisle
27a20fc0f3 problem introduced at revision 11117 2008-02-13 13:01:35 +00:00
Marc Delisle
5d308367bf bug #1887204 [GUI] Order columns in result list messing up query 2008-02-11 18:26:53 +00:00
Marc Delisle
54a8b6b08d bug #1799691 [export] "Propose table structure" and Export 2008-02-08 18:55:08 +00:00
Marc Delisle
e98b21d75e bug #1783620 [parser] Subquery results without "as" are ignored 2007-12-21 18:18:44 +00:00
Marc Delisle
2ced7be900 bug #1710144 [parser] space after COUNT breaks Export but not Query 2007-12-20 12:47:43 +00:00
Marc Delisle
96bd2a4978 bug #1851833 [display] Sorting forgets an explicit LIMIT (fix for sorting on column headers) 2007-12-16 15:57:09 +00:00
Marc Delisle
78a3a6dacb parser (analyzer) the section_before_limit should not contain the LIMIT clause itself; and extract the limit_clause 2007-12-16 15:18:23 +00:00
Sebastian Mendel
be0373f9d0 cleanup 2007-10-18 10:09:51 +00:00
Sebastian Mendel
585f991656 make use of PMA_Message 2007-10-16 09:30:13 +00:00
Marc Delisle
0effdcaa31 old PHP4 code 2007-08-18 20:33:30 +00:00
Marc Delisle
050b2d2c2c bug #1734285 Copy database with VIEWs 2007-06-11 17:00:56 +00:00
Marc Delisle
f9c0bc6ff1 bug #1498281 [parser] Wrong primary key used for displaying results with subquery 2007-04-06 13:21:05 +00:00
Marc Delisle
6b2b01b80c fix this kind of queries: select * from mytable where myid >= 1 2007-04-03 10:19:33 +00:00
Sebastian Mendel
cfeb306526 coding standard: no spaces inside braces 2007-04-01 11:02:46 +00:00
Sebastian Mendel
adb39168cc coding standard: no braces around include 2007-04-01 09:51:41 +00:00
Sebastian Mendel
a7568078af bug #1567317 [sqp] Syntax highlighter: extra spaces 2007-03-19 16:12:17 +00:00
Sebastian Mendel
d0f31e2091 bug #1672789 Undefined offset: 4 in sqlparser.lib.php #1674 2007-03-19 14:19:22 +00:00
Sebastian Mendel
235adc812b bug #1239401 table dot numeric field name 2007-03-15 15:01:23 +00:00
Marc Delisle
42ac66ad74 get rid of propicon 2007-02-10 15:58:46 +00:00
Marc Delisle
593b353670 bug #1638267, wrong reserved word recognition 2007-01-20 15:04:18 +00:00
Michal Čihař
27696bd1e0 Add support for ON DUPLICATE KEY (bug #1576226). 2006-10-17 09:46:07 +00:00
Michal Čihař
b495cd337a Remove last CVS mentions. 2006-10-13 08:23:32 +00:00
Michal Čihař
d9c440c01b Fix parsing of CHAR column type (bug #1573502). 2006-10-10 14:44:25 +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
d6d0a7ce6b sorting on column header 2006-08-16 17:39:15 +00:00
Sebastian Mendel
6d9f3794ec correctly unquote identifiers 2006-08-02 11:36:12 +00:00
Marc Delisle
1d4e05f768 bug #152600, copy table on MySQL 5.0.23+ 2006-07-30 11:21:59 +00:00
Marc Delisle
eb387f69d4 bug #1458245 copy a db containing a VIEW 2006-03-28 11:37:55 +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
32a946d084 bug #1394479, problem detecting ending semi-colon, generates a SHOW KEYS FROM nothing 2006-01-10 18:19:04 +00:00
Michal Čihař
ea58d9f259 Do not use functions not supported by older PHP. 2005-11-28 18:21:19 +00:00