Commit Graph

49668 Commits

Author SHA1 Message Date
Piotr Przybylski
4965898803 Always get full information here 2011-08-05 01:16:02 +02:00
Piotr Przybylski
6fe137e68d PMA_DBI_get_columns - return null when there are no columns (server synchronize depends on this behavior) 2011-08-05 01:15:37 +02:00
Piotr Przybylski
c64564baf7 Server synchronize: fix PMA_get_table_indexes to return null when there are no indexes instead of false
Synchronize code depends on this behavior
2011-08-05 00:49:31 +02:00
Piotr Przybylski
a73f1449ea Coding style: space after for keyword 2011-08-05 00:37:49 +02:00
Michal Čihař
c8a147c4ee Fix typo 2011-08-04 19:44:36 +02:00
Michal Čihař
9a938ed986 Fix comments 2011-08-04 19:44:22 +02:00
Michal Čihař
872ddd034f Fix comments 2011-08-04 19:43:29 +02:00
Dieter Adriaenssens
46cd0d6afa fix typo 2011-08-04 19:24:15 +02:00
Dieter Adriaenssens
d1f124492f fix typo 2011-08-04 19:20:23 +02:00
Michal Čihař
4c62a5fed6 Another typo 2011-08-04 17:41:30 +02:00
Michal Čihař
fcb5b16adf Fix typo 2011-08-04 17:37:39 +02:00
Michal Čihař
d4c9e4135e Fix comments 2011-08-04 17:32:18 +02:00
Michal Čihař
85eb9c74a1 Add testcase for PMA_expandUserString 2011-08-04 17:31:55 +02:00
Michal Čihař
22b46564e1 Add testcase for another way of escaping 2011-08-04 17:21:51 +02:00
Michal Čihař
416277f398 Use standard field processing machinery 2011-08-04 17:16:03 +02:00
Michal Čihař
addeffabaf Use standard field processing machinery 2011-08-04 17:15:06 +02:00
Michal Čihař
57ab1b3e20 No longer needed 2011-08-04 17:12:08 +02:00
Michal Čihař
48149c261c Use already calculated values 2011-08-04 17:11:47 +02:00
Michal Čihař
83d3c0d2fd Move attribute processing to PMA_extractFieldSpec 2011-08-04 17:08:49 +02:00
Michal Čihař
f646fc8a55 Use PMA_extractFieldSpec instead of own code 2011-08-04 17:04:12 +02:00
Michal Čihař
87c970b0f8 No need to load full columns here (need names only anyway) 2011-08-04 17:00:32 +02:00
Michal Čihař
809258e49b Docs 2011-08-04 16:50:29 +02:00
Michal Čihař
822a863690 Reintroduce mistakenly removed code 2011-08-04 16:47:47 +02:00
Michal Čihař
b7b7fe3920 Properly handle special cases 2011-08-04 16:46:45 +02:00
Michal Čihař
d29cf3227d Use PMA_extractFieldSpec instead of own code in export plugins 2011-08-04 16:41:30 +02:00
Michal Čihař
236eb052bc Use PMA_extractFieldSpec instead of own code 2011-08-04 16:36:23 +02:00
Michal Čihař
542738dd88 Export print_type and make it usable for set/enum as well 2011-08-04 16:33:34 +02:00
Michal Čihař
76fe197e4b Use PMA_DBI_get_columns 2011-08-04 16:26:10 +02:00
Michal Čihař
e86a65d0c2 Whitespace cleanup 2011-08-04 16:26:03 +02:00
Michal Čihař
183c0f437b Use PMA_DBI_get_columns 2011-08-04 16:24:09 +02:00
Michal Čihař
5adf2fb352 Processing of varbinary fields 2011-08-04 16:21:47 +02:00
Michal Čihař
57dcfb780a Fater processing
- use preg_replace return value instead going through string again
- use strpos instead of strstr, which is faster and consumes less memory
  according to PHP docs
2011-08-04 16:20:42 +02:00
Michal Čihař
b604a67c50 Optimize matching
- avoid calling twice same preg_match
- do case sensitive match as we have the string in lower case
2011-08-04 16:15:13 +02:00
Michal Čihař
04c5a81b8c Make short type also always lowercase 2011-08-04 16:10:41 +02:00
Michal Čihař
42df62c050 Make type lowercase everytime 2011-08-04 16:09:17 +02:00
Michal Čihař
11acfe2651 Add testcase for varchar 2011-08-04 16:08:34 +02:00
Michal Čihař
cbcde38db1 Add more testcases 2011-08-04 16:07:13 +02:00
Michal Čihař
1c356718ea Add test case for PMA_extractFieldSpec 2011-08-04 16:03:56 +02:00
Michal Čihař
b231ab4072 Factor out some type matching 2011-08-04 15:56:56 +02:00
Michal Čihař
c63474bde1 Use PMA_DBI_get_columns 2011-08-04 15:47:56 +02:00
Michal Čihař
398d5abbda Use PMA_DBI_get_columns 2011-08-04 15:43:07 +02:00
Michal Čihař
bd526dd94e Use PMA_DBI_get_columns 2011-08-04 15:41:20 +02:00
Michal Čihař
9fd0baaad2 Fix indentation 2011-08-04 15:38:13 +02:00
Michal Čihař
5e2a467f6f $GLOBALS[use_backquotes] is apparently not set anywhere 2011-08-04 15:30:02 +02:00
Michal Čihař
1045c8f085 Wrap export options 2011-08-04 15:28:02 +02:00
Michal Čihař
c3f8dd9250 Coding style 2011-08-04 15:25:26 +02:00
Michal Čihař
1d687ef960 Coding style 2011-08-04 15:21:59 +02:00
Michal Čihař
ff074b1d2f Better parameter name 2011-08-04 15:21:06 +02:00
Michal Čihař
a665c7d8a6 Fix docblock 2011-08-04 15:20:19 +02:00
Michal Čihař
bffad98915 Separate data decoding from output 2011-08-04 15:19:29 +02:00