Made search independant from the connection charset.

This commit is contained in:
Alexander M. Turek
2004-09-04 18:39:29 +00:00
parent 4425027c74
commit 579dac336f
2 changed files with 117 additions and 96 deletions

187
ChangeLog
View File

@@ -6,9 +6,9 @@ $Id$
$Source$
2004-09-04 Alexander M. Turek <me@derrabus.de>
* tbl_select.php:
- Bugfix: No quotes were added when querying (VAR)BINARY fields.
- Table search is now independant from the connection charset.
* tbl_select.php: No quotes were added when querying (VAR)BINARY fields.
* db_search.php, tbl_select.php: Made search independant from the
connection charset.
2004-09-04 Marc Delisle <lem9@users.sourceforge.net>
* sql.php: bug #899430: left frame problem when lower_case_table_names==2
@@ -24,10 +24,19 @@ $Source$
* libraries/database_interface.lib.php: do not add BINARY and VARBINARY
twice in the drop-down list of field types
2004-09-02 Alexander M. Turek <me@derrabus.de>
2004-09-03 Alexander M. Turek <me@derrabus.de>
* Documentation.html: Typos; added a note about the deprecated MySQL
versions 4.1.0 and 4.1.1.
2004-09-03 Michal Cihar <michal@cihar.com>
* libraries/string.lib.php: Encoding tis-620 is not multibyte (bug
#1013787).
* libraries/display_export.lib.php: Updated texts to fit Excel 2003
behaviour (bug #1018457).
* main.php, themes.php: Escape theme names (bug #1016608).
* lang/hebrew-utf-8.inc.php, lang/sync_lang.sh,
libraries/select_lang.lib.php: Hebrew now also has utf-8 version.
2004-09-01 Marc Delisle <lem9@users.sourceforge.net>
* libraries/auth/cookie.auth.lib.php: bug #939531: when people upgrade
phpMyAdmin on the same directory, the previous cookie pma_cookie_username
@@ -36,7 +45,7 @@ $Source$
cookie is not used. Users have to reenter their username (not a big
impact IMO)
2004-09-01 Michal Čihař <michal@cihar.com>
2004-09-01 Michal Čihař <michal@cihar.com>
* libraries/export/sql.php: Fix empty BLOB export (bug #1020052).
2004-08-29 Marc Delisle <lem9@users.sourceforge.net>
@@ -58,14 +67,14 @@ $Source$
* lang/japanese: updated, thanks to Tadashi Jokagi (elf2000)
* lang/hebrew, turkish: bug 1016609: <br> tags
2004-08-25 Michal Čihař <michal@cihar.com>
2004-08-25 Michal Čihař <michal@cihar.com>
* main.php: Don't show port after verbose name (bug #1013401).
2004-08-23 Michal Čihař <michal@cihar.com>
2004-08-23 Michal Čihař <michal@cihar.com>
* scripts/create-release.sh: Support for snapshots outside sourceforge.
* libraries/export/sql.php: Fix exporting of TIMESTAMP (bug #1013730).
2004-08-22 Michal Čihař <michal@cihar.com>
2004-08-22 Michal Čihař <michal@cihar.com>
* sql.php: Don't unset $sql_limit_to_append, we need it later (bug
#978930, found by Marc).
@@ -93,11 +102,11 @@ $Source$
2004-08-19 Marc Delisle <lem9@users.sourceforge.net>
* lang/*: bug 1009667: do not spell Ms Excel but MS Excel
2004-08-19 Michal Čihař <michal@cihar.com>
2004-08-19 Michal Čihař <michal@cihar.com>
* read_dump.php: Fixed one case of reload detection (I forgot to update
second regexp on 2004-08-16) (bug #1011479).
2004-08-17 Michal Čihař <michal@cihar.com>
2004-08-17 Michal Čihař <michal@cihar.com>
* sql.php: Work with $display_query only if set (Marc spotted this out).
* libraries/display_export.lib.php: No options text should not be bold red
(bug #1010759).
@@ -116,7 +125,7 @@ $Source$
* all .../theme_right_css.php: bug #1009661, typo,
thanks to Ryan Schmidt (ryandesign)
2004-08-16 Michal Čihař <michal@cihar.com>
2004-08-16 Michal Čihař <michal@cihar.com>
* read_dump.php: Fix handling of comments -- and # (bug #1009494).
* libraries/relation.lib.php: Fix typo, CONVERT is for MySQL >= 4.1 and
not for MySQL >= 4.0.
@@ -130,12 +139,12 @@ $Source$
* themes/.../themes_left.css, /themes_right.css: new style for
better vertical alignment
2004-08-13 Michal Čihař <michal@cihar.com>
2004-08-13 Michal Čihař <michal@cihar.com>
* libraries/read_dump.lib.php: Fix possible undefined index (bug
#1008232).
* scripts/create-release.sh: Rename config.default to config.default.php.
2004-08-12 Michal Čihař <michal@cihar.com>
2004-08-12 Michal Čihař <michal@cihar.com>
* db_details_structure.php: Inconsistency of drop/empty links (bug
#989705).
* tbl_addfield.php, tbl_properties.inc.php, tbl_properties_structure.php:
@@ -154,14 +163,14 @@ $Source$
* left.php: Use always natsort and not natcasesort in one case, it caused
inconsistency (bug #1008120).
2004-08-11 Michal Čihař <michal@cihar.com>
2004-08-11 Michal Čihař <michal@cihar.com>
* tbl_replace.php: Do not empty protected values (bug #1006812).
* libraries/display_tbl.lib.php: Wrong parameters for PMA_DBI_free_result
(bug #1007287).
* tbl_indexes.php, libraries/display_tbl.lib.php: Fix grabing indexes with
MYSQLI_USE_RESULT (bug #1007286).
2004-08-10 Michal Čihař <michal@cihar.com>
2004-08-10 Michal Čihař <michal@cihar.com>
* libraries/tbl_change.js: Forcibily use 10 as base for parsed numbers,
otherwise accidentally octal numbers are expected (part of bug
#1005865).
@@ -186,7 +195,7 @@ $Source$
* libraries/sqlparser.lib.php: cannot copy a table structure (MySQL 4.1.x)
### 2.6.0-rc1 released
2004-08-08 Michal Čihař <michal@cihar.com>
2004-08-08 Michal Čihař <michal@cihar.com>
* calendar.php: Include correct stylesheet (bug #1005421).
2004-08-07 Marc Delisle <lem9@users.sourceforge.net>
@@ -200,7 +209,7 @@ $Source$
* tbl_properties_operations.php: bug 1004523, now display table options
according to the possibilities of the table types
2004-08-06 Michal Čihař <michal@cihar.com>
2004-08-06 Michal Čihař <michal@cihar.com>
* tbl_change.php: Do not free result, we need it later.
* tbl_relation.php: Some functions do not take parameters (bug #1000021).
@@ -210,8 +219,8 @@ $Source$
* updated themes screenshots
* left.php: bug 998698, db dropdown refresh
(me)
* lang/galician: Updated, thanks to Xosé Calvo.
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/galician: Updated, thanks to Xosé Calvo.
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/japanese: updated, thanks to Tadashi Jokagi (elf2000)
2004-08-03 Marc Delisle <lem9@users.sourceforge.net>
@@ -234,7 +243,7 @@ $Source$
the corresponding -UTF-8 version (if it exists); also, now
the default language is the non-UTF-8 one
2004-08-02 Michal Čihař <michal@cihar.com>
2004-08-02 Michal Čihař <michal@cihar.com>
* libraries/export/sql.php: Removed unused code.
2004-08-01 Marc Delisle <lem9@users.sourceforge.net>
@@ -265,7 +274,7 @@ $Source$
2004-07-29 Marc Delisle <lem9@users.sourceforge.net>
* libraries/sqlparser*.php: bug 965026, support of GROUP_CONCAT()
2004-07-28 Michal Čihař <michal@cihar.com>
2004-07-28 Michal Čihař <michal@cihar.com>
* tbl_properties_structure.php: Allow to create primary key when there was
none before (bug #996246).
@@ -316,7 +325,7 @@ $Source$
2004-07-16 Marc Delisle <lem9@users.sourceforge.net>
* index.php: left frame display problems under IE
2004-07-16 Michal Čihař <michal@cihar.com>
2004-07-16 Michal Čihař <michal@cihar.com>
* libraries/export/sql.php: Remove code for old MySQL version, do not
store query, better handle various end of lines (probably bug #979635).
@@ -330,7 +339,7 @@ $Source$
* server_databases.php: Add database collations to statistics.
* lang/german-*.inc.php: Grammar.
2004-07-15 Michal Čihař <michal@cihar.com>
2004-07-15 Michal Čihař <michal@cihar.com>
* tbl_properties_export.php: Fix export of queries with empty WHERE clause
(bug #990330).
* libraries/display_export.lib.php: Display SQL export after saving file
@@ -352,7 +361,7 @@ $Source$
(note: we need to use the PMA_DBI_QUERY_STORE option in a mysqli query
when we later do a PMA_DBI_num_rows() on the results)
2004-07-13 Michal Čihař <michal@cihar.com>
2004-07-13 Michal Čihař <michal@cihar.com>
* lang/czech: Updated.
2004-07-13 Alexander M. Turek <me@derrabus.de>
@@ -371,8 +380,8 @@ $Source$
2004-07-10 Marc Delisle <lem9@users.sourceforge.net>
* lang/catalan update, thanks to Xavier Navarro (xavin).
* lang/galician: Updated, thanks to Xosé Calvo.
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/galician: Updated, thanks to Xosé Calvo.
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
2004-07-09 Marc Delisle <lem9@users.sourceforge.net>
* tbl_change.php: bug 981793, cross-window update message when inserting
@@ -410,7 +419,7 @@ $Source$
2004-07-02 Marc Delisle <lem9@users.sourceforge.net>
* main.php: put Create button on the same line as the input field
2004-07-01 Michal Čihař <michal@cihar.com>
2004-07-01 Michal Čihař <michal@cihar.com>
* lang/czech: Updated.
2004-07-01 Marc Delisle <lem9@users.sourceforge.net>
@@ -432,7 +441,7 @@ $Source$
2004-06-30 Alexander M. Turek <me@derrabus.de>
* libraries/common.lib.php: Fix against $_REQUEST['cfg'] exploits.
2004-06-29 Michal Čihař <michal@cihar.com>
2004-06-29 Michal Čihař <michal@cihar.com>
* lang/check_lang.sh: Checks for diffstat presence.
2004-06-28 Marc Delisle <lem9@users.sourceforge.net>
@@ -440,7 +449,7 @@ $Source$
### 2.6.0-beta2 released
2004-06-27 Michal Čihař <michal@cihar.com>
2004-06-27 Michal Čihař <michal@cihar.com>
* lang/*: Make all export choices look simmilar ('drop table' -> DROP
TABLE), removed unused strings (there vere MANY!), fixed some czech
texts.
@@ -460,7 +469,7 @@ $Source$
* lang/spanish: Updated, thanks to Daniel Hinostroza (hinostroza).
* main.php: js error when switching theme, thanks to Michael Keck
2004-06-25 Michal Čihař <michal@cihar.com>
2004-06-25 Michal Čihař <michal@cihar.com>
* main.php, libraries/select_lang.lib.php: Remember selected charset in
cookie.
* libraries/display_export.lib.php: Add back key checking disabling.
@@ -504,14 +513,14 @@ $Source$
number of tables changes, thanks to Michael Keck
* lang/bulgarian: Updated, thanks to Stanislav Yordanov (stanprog).
* lang/indonesian: Update thanks to Rachim Tamsjadi - tamsy.
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
### 2.6.0-beta1 released
2004-06-24 Alexander M. Turek <me@derrabus.de>
* libraries/dbi/mysqli.dbi.php: Undefined variable if PMA_DBI_getError() is
called although no error occured.
2004-06-24 Michal Čihař <michal@cihar.com>
2004-06-24 Michal Čihař <michal@cihar.com>
* main.php, changelog.php: Add headers to ChangeLog display.
* scripts/create_tables.sql: Add IF EXISTS.
* libraries/read_dump.lib.php: Ignore comments for SQL splitting,
@@ -531,7 +540,7 @@ $Source$
* config.inc.php, libraries/common.lib.php, libraries/config_import.lib.php:
missing parameter for the Refresh link feature
2004-06-22 Michal Čihař <michal@cihar.com>
2004-06-22 Michal Čihař <michal@cihar.com>
* libraries/relation.lib.php: Fix possible error on non existant pma db.
2004-06-20 Marc Delisle <lem9@users.sourceforge.net>
@@ -569,7 +578,7 @@ $Source$
css/phpmyadmin.css.php, themes/original/img + css:
put original theme under the same structure as darkblue_orange
2004-06-16 Michal Čihař <michal@cihar.com>
2004-06-16 Michal Čihař <michal@cihar.com>
* header.inc.php: Use rather _SERVER than GLOBALS, should fix bug #973602.
2004-06-15 Marc Delisle <lem9@users.sourceforge.net>
@@ -582,7 +591,7 @@ $Source$
* left.php, tbl_properties.inc.php, librairies/common.lib.php:
missing title tags
2004-06-15 Michal Čihař <michal@cihar.com>
2004-06-15 Michal Čihař <michal@cihar.com>
* lang/czech: Updated.
* config.inc.php, libraries/config_import.lib.php,
libraries/common.lib.php: Support for SHA1 function (RFE #971703).
@@ -641,7 +650,7 @@ $Source$
2004-06-09 Alexander M. Turek <me@derrabus.de>
### 2.5.7 released from MAINT_2_5 branch.
2004-06-08 Michal Čihař <michal@cihar.com>
2004-06-08 Michal Čihař <michal@cihar.com>
* config.inc.php, lang/*, libraries/common.lib.php,
libraries/config_import.lib.php, libraries/display_export.lib.php,
libraries/export/sql.php: Add FOREIGN_KEY_CHECKS=0 to export (RFE
@@ -655,7 +664,7 @@ $Source$
* libraries/dbi/mysqli.dbi.lib.php: omit last parameter when calling
mysqli_connect() to enable the use of default socket
2004-06-07 Michal Čihař <michal@cihar.com>
2004-06-07 Michal Čihař <michal@cihar.com>
* lang/czech: Updated.
* libraries/charset_conversion.lib.php: Do not convert, if charsets are
same.
@@ -683,7 +692,7 @@ $Source$
<td>. Adjusted CSS to not change visual display of those.
* (same files): Optimized unneccessary preg_replace.
2004-06-04 Michal Čihař <michal@cihar.com>
2004-06-04 Michal Čihař <michal@cihar.com>
* libraries/read_dump.lib.php: Do not strip comments here.
* libraries/sqlparser.lib.php: Handle correctly all MySQL comments (-- can
be followed with any control char) (patch #965106).
@@ -697,7 +706,7 @@ $Source$
2004-06-03 Alexander M. Turek <me@derrabus.de>
* header.inc.php: Undefined variable.
2004-06-03 Michal Čihař <michal@cihar.com>
2004-06-03 Michal Čihař <michal@cihar.com>
* db_details_links.php, header.inc.php, server_links.inc.php,
tbl_properties_links.php, css/phpmyadmin.css.php: Use classes for
heading (RFE #965542).
@@ -725,7 +734,7 @@ $Source$
'Server' string
* pdf_schema.php: bug #915735, dictionary cropped in landscape letter
2004-05-30 Michal Čihař <michal@cihar.com>
2004-05-30 Michal Čihař <michal@cihar.com>
* libraries/display_tbl.lib.php: Return back to browsing after editing
row.
@@ -737,13 +746,13 @@ $Source$
the display of part of the changing amount of columns dialog
when editing a field structure
2004-05-28 Michal Čihař <michal@cihar.com>
2004-05-28 Michal Čihař <michal@cihar.com>
* libraries/display_tbl.lib.php: Decrease limit for query truncating (see
comments in bug #951744).
* Documentation.html, config.inc.php, tbl_query_box.php: Default query can
contain field names (RFE #948590, patch #961726).
2004-05-26 Michal Čihař <michal@cihar.com>
2004-05-26 Michal Čihař <michal@cihar.com>
* lang/norwegian: Update, thanks to Sven-Erik Andersen - sven-erik.
* lang/estonian: Update thanks to Alvar Soome - finsoft.
* lang/indonesian: Update thanks to Rachim Tamsjadi - tamsy.
@@ -757,7 +766,7 @@ $Source$
* translators.html: Linked to Indonesian translator's SF page instead of
his email address.
2004-05-25 Michal Čihař <michal@cihar.com>
2004-05-25 Michal Čihař <michal@cihar.com>
* main.php, libraries/select_lang.lib.php: Use pma_lang cookie instead of
just lang.
* libraries/select_lang.lib.php: Fix language dialects detection (based on
@@ -766,7 +775,7 @@ $Source$
2004-05-23 Garvin Hicking <pma@supergarv.de>
* db_details.php: Fixed broken file upload since redesign-patch.
2004-05-20 Michal Čihař <michal@cihar.com>
2004-05-20 Michal Čihař <michal@cihar.com>
* many files: Little code reorganistaion (RFE #957308), removed some
remaining php3 compatibility code in SQL parser.
@@ -779,7 +788,7 @@ $Source$
PMA_foreignDropdown() must be called with no current value for
the data
2004-05-19 Michal Čihař <michal@cihar.com>
2004-05-19 Michal Čihař <michal@cihar.com>
* libraries/auth/cookie.auth.lib.php: Show login form in top frame.
2004-05-16 Alexander M. Turek <me@derrabus.de>
@@ -796,11 +805,11 @@ $Source$
* Documentation.html: Let's use a hyperlink instead of referring to the
chapter, as the chaper numbers might change.
2004-05-14 Michal Čihař <michal@cihar.com>
2004-05-14 Michal Čihař <michal@cihar.com>
* libraries/auth/cookie.auth.lib.php: Use one cookie set for each server,
not just one global (patch #952917, bug #687009).
2004-05-13 Michal Čihař <michal@cihar.com>
2004-05-13 Michal Čihař <michal@cihar.com>
* libraries/export/sql.php: Minor optimalisations.
* sql.php, tbl_replace.php, libraries/display_tbl.lib.php: Use same code
for generating INSERT and UPDATE queries (also fixes bug #953250).
@@ -832,7 +841,7 @@ $Source$
* tbl_replace.php, tbl_indexes.php, sql.php, db_details_common.php,
libraries/db_table_exists.php: use PMA_sendHeaderLocation()
2004-05-11 Michal Čihař <michal@cihar.com>
2004-05-11 Michal Čihař <michal@cihar.com>
* libraries/sqlparser.lib.php: Modified pretty printer to display nicer
queries generated by our db search.
* db_search.php: Do not generate search query to include all fields, just
@@ -845,7 +854,7 @@ $Source$
* left.php: commit for Garvin: fix for wrong group expanding (group
name containing foreign characters)
2004-05-10 Michal Čihař <michal@cihar.com>
2004-05-10 Michal Čihař <michal@cihar.com>
* libraries/dbi/mysql.dbi.lib.php: Fix PMA_DBI_field_name, fixes also bug
#951226.
@@ -857,7 +866,7 @@ $Source$
* main.php, css/phpmyadmin.css.php: Corrected <form> position
to XHTML compliance. Introduced "nospace" class.
2004-05-09 Michal Čihař <michal@cihar.com>
2004-05-09 Michal Čihař <michal@cihar.com>
* lang/czech: Updated.
* tbl_properties_operations.php: Fixed documentation link.
@@ -983,7 +992,7 @@ $Source$
* lang/estonian: Updated, thanks to Alvar Soome (finsoft).
* lang/norwegian: Updated, thanks to Sven-Erik Andersen (sven-erik).
* lang/slovak: Updated, thanks to Lubos Klokner (erkac).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/slovenian update, thanks to Kositer Uros
* libraries/common.lib.php: patch #859034, better BLOB comparison
@@ -1181,7 +1190,7 @@ $Source$
2004-04-13 Marc Delisle <lem9@users.sourceforge.net>
* libraries/relation.lib.php: bug 930445 when PMA_table_info not defined,
thanks to Philippe Jausions (jausions)
* Documentation.html: new faq links and cleanup, thanks to Cédric Corazza
* Documentation.html: new faq links and cleanup, thanks to Cédric Corazza
* tbl_replace.php, libraries/defines.lib.php, /common.lib.php:
bug 898484, IIS crash: do not use header('Location: ')
@@ -1582,14 +1591,14 @@ $Source$
2004-01-14 Marc Delisle <lem9@users.sourceforge.net>
* mult_submits.inc.php: bug 876805, dropping a field with the
multi-submit mechanism removes all internal relations of a table,
patch thanks to Joosep-Georg Järvemaa (j-georg)
patch thanks to Joosep-Georg Järvemaa (j-georg)
2004-01-13 Robin Johnson <robbat2@users.sourceforge.net>
* Documentation.html: Slight update to what I've done
2004-01-12 Marc Delisle <lem9@users.sourceforge.net>
* lang/spanish: Updated, thanks to Daniel Hinostroza (hinostroza).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/portuguese: Updated, thanks to Lopo Pizarro (lopopizarro).
2004-01-09 Alexander M. Turek <singwhenyourewinning@derrabus.de>
@@ -1961,7 +1970,7 @@ $Source$
2003-11-19 Michal Cihar <nijel@users.sourceforge.net>
* lang/catalan: Updated, thanks to Xavier Navarro (xavin).
* lang/chinese_big5: Updated, thanks to Siu Sun (siusun).
* lang/portuguese: Updated, thanks to António Raposo (cfmsoft).
* lang/portuguese: Updated, thanks to António Raposo (cfmsoft).
* lang/spanish: Updated, thanks to Daniel Hinostroza (hinostroza).
2003-11-19 Alexander M. Turek <rabus@users.sourceforge.net>
@@ -2169,7 +2178,7 @@ $Source$
2003-10-18 Marc Delisle <lem9@users.sourceforge.net>
* libraries/common.lib.php3: bug 821512, Safari 1.0 v85.5 and fonts
* libraries/functions.js: bug 825665, scratchboard and paper size
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
### 2.5.4 released
2003-10-17 Marc Delisle <lem9@users.sourceforge.net>
@@ -2494,11 +2503,11 @@ $Source$
tbl_properties_operations.php3 instead of tbl_properties.php3.
2003-08-22 Marc Delisle <lem9@users.sourceforge.net>
* lang/galician: Updated, thanks to Xosé Calvo.
* lang/galician: Updated, thanks to Xosé Calvo.
* lang/spanish: Updated, thanks to Daniel Hinostroza (dhinostroza).
* lang/indonesian: Updated, thanks to Rachim Tamsjadi (tamsy).
* lang/polish: Updated, thanks to Jakub Wilk (ubanus).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/greek: update, thanks to Kyriakos Xagoraris (theremon)
* libraries/sqlparser.lib.php3: extract the CONSTRAINTs for FOREIGN KEYs
* libraries/relation.lib.php3: getForeigners() returns also the constraint
@@ -2592,11 +2601,11 @@ $Source$
2003-08-07 Marc Delisle <lem9@users.sourceforge.net>
* lang/serbian update, thanks to Mihailo Stefanovic
* lang/romanian: Updated, thanks to Valics Lehel.
* lang/galician: Updated, thanks to Xosé Calvo.
* lang/galician: Updated, thanks to Xosé Calvo.
* lang/bulgarian: Updated, thanks to Stanislav Yordanov (stanprog).
* lang/spanish: Updated, thanks to Daniel Hinostroza (dhinostroza).
* lang/chinese_gb: Updated, thanks to Wang (fundawang).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* Documentation.html: bug 782597: FAQ 1.30 about Turck MMCache
2003-08-06 Marc Delisle <lem9@users.sourceforge.net>
@@ -2803,7 +2812,7 @@ $Source$
Thanks to andreas_e ;)
2003-07-16 Michal Cihar <nijel@users.sourceforge.net>
* lang/galician: Updated, thanks to Xosé Calvo.
* lang/galician: Updated, thanks to Xosé Calvo.
2003-07-16 Marc Delisle <lem9@users.sourceforge.net>
* libraries/export/sql.php3: bug 771575: wrong quotes for variable expansion
@@ -2870,7 +2879,7 @@ $Source$
(bug #768351).
* lang/chinese_big5: Updated, thanks to Siu Sun (siusun).
* lang/spanish: Updated, thanks to Daniel Hinostroza (dhinostroza).
* lang/galician: Updated, thanks to Xosé Calvo.
* lang/galician: Updated, thanks to Xosé Calvo.
2003-07-09 Garvin Hicking <me@supergarv.de>
* tbl_query_box.php3: Fix Bug #768652 (sql history tab submittet to
@@ -2903,7 +2912,7 @@ $Source$
* lang/chinese_big5: Updated, thanks to Siu Sun (siusun).
* lang/polish: Updated, thanks to Jakub Wilk (ubanus).
* lang/romanian: Updated, thanks to Valics Lehel.
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/slovak: Updated, thanks to Lubos Klokner (erkac).
* lang/indonesian: Updated, thanks to Rachim Tamsjadi (tamsy).
@@ -2943,7 +2952,7 @@ $Source$
2003-07-05 Marc Delisle <lem9@users.sourceforge.net>
* libraries/auth/config.auth.lib.php3, lang/*.php3:
$strAccessDeniedExplanation
* lang/swedish update, thanks to Björn T. Hallberg (bth).
* lang/swedish update, thanks to Björn T. Hallberg (bth).
* lang/polish update, thanks to Jakub Wilk (ubanus).
2003-07-05 Michal Cihar <nijel@users.sourceforge.net>
@@ -3041,7 +3050,7 @@ $Source$
lang/russian-*.inc.php3, lang/ukrainian-*.inc.php3: Checked all language
files for incomplete arrays ($byteUnits, $day_of_week and $month).
* libraries/common.lib.php3: Security fix against bad JS code.
* translators.html: Removed Loïc from list; he is inactive at the moment.
* translators.html: Removed Loïc from list; he is inactive at the moment.
* Documentation.html: Changed my email address.
2003-06-22 Robin Johnson <robbat2@users.sourceforge.net>
@@ -3260,7 +3269,7 @@ $Source$
2003-05-30 Marc Delisle <lem9@users.sourceforge.net>
* lang/romanian updates, thanks to Valics Lehel
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/polish: update, thanks to Jakub Wilk
2003-05-30 Alexander M. Turek <rabus@users.sourceforge.net>
@@ -3350,7 +3359,7 @@ $Source$
2003-05-24 Marc Delisle <lem9@users.sourceforge.net>
* Documentation.html: talk about left frame levels
* lang/galician: update, thanks to Xosé Calvo
* lang/galician: update, thanks to Xosé Calvo
* lang/turkish: update, thanks to Bora Alioglu
2003-05-24 Garvin Hicking <me@supergarv.de>
@@ -3379,7 +3388,7 @@ $Source$
libraries/defines_php.lib.php3: Improved GD 2 detection (bugs #736111,
#741192).
* lang/sync_lang.sh: Removed dropped farsi translation.
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/indonesian: Updated, thanks to Rachim Tamsjadi (tamsy).
* lang/norwegian: Updated, thanks to Sven-Erik Andersen (sven-erik).
@@ -3702,7 +3711,7 @@ $Source$
when changing it.
* lang/czech: Updated.
* lang/indonesian: Updted, thanks to Rachim Tamsjadi (tamsy).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/swedish: Updated, thanks to Björn T. Hallberg (bth).
* lang/italian: Updated, thanks to Pietro Danesi (danone).
* lang/catalan: Updated, thanks to Xavier Navarro.
* footer.inc.php3: Fixed for quotes, HTML entities and other weird
@@ -3784,11 +3793,11 @@ $Source$
to prevent false arrow aligning when using 'same widths'.
2003-04-08 Marc Delisle <lem9@users.sourceforge.net>
* lang/galician: update, thanks to Xosé Calvo
* lang/galician: update, thanks to Xosé Calvo
* lang/lithuanian: Updated, thanks to Vilius Zigmantas.
* lang/italian: Updated, thanks to Pietro Danesi.
* lang/chinese_gb: update, thanks to (fundawang)
* lang/swedish: update, thanks to Björn T. Hallberg
* lang/swedish: update, thanks to Björn T. Hallberg
* lang/norwegian: update, thanks to Sven-Erik Andersen
2003-04-07 Michal Cihar <nijel@users.sourceforge.net>
@@ -4400,7 +4409,7 @@ $Source$
Files: queryframe.php3, querywindow.php3, header.inc.php3,
tbl_query_box.php3, common.lib.php3
2003-02-24 Olivier L. Müller <om@omnis.ch>
2003-02-24 Olivier L. Müller <om@omnis.ch>
* libraries/common.lib.php3: if $cfg['PmaAbsoluteUri'] is empty and
port == 80 or port == 443, do not add ":80" or ":443" anymore to the
generated URL -> prevents a double password query with some browsers
@@ -4415,7 +4424,7 @@ $Source$
2003-02-23 Marc Delisle <lem9@users.sourceforge.net>
### 2.4.0 released
2003-02-23 Olivier L. Müller <om@omnis.ch>
2003-02-23 Olivier L. Müller <om@omnis.ch>
* docs.css: highlight FAQ questions in blue -> more readble.
2003-02-23 Alexander M. Turek <rabus@users.sourceforge.net>
@@ -4431,13 +4440,13 @@ $Source$
* lang/thai: update, thanks to Arthit Suriyawongkul
* tbl_change.php3: do not use enctype="multipart/form-data"
if !$is_upload (possible solution for bug 689215)
* lang/swedish: update, thanks to Björn T. Hallberg
* lang/swedish: update, thanks to Björn T. Hallberg
2003-02-19 Alexander M. Turek <rabus@users.sourceforge.net>
* libraries/display_tbl.lib.php3: Coding standards.
* lang/romanian-*.inc.php3: Updates, thanks to Valics Lehel.
* lang/spanish-*.inc.php3: Updates, thanks to Dr. med. Daniel Hinostroza C.
* lang/galician-*.inc.php3: Updates, thanks to Xosé Calvo.
* lang/galician-*.inc.php3: Updates, thanks to Xosé Calvo.
* lang/catalan-*.inc.php3: Updates, thanks to Xavier Navarro.
2003-02-18 Marc Delisle <lem9@users.sourceforge.net>
@@ -4524,7 +4533,7 @@ $Source$
* lang/italian update, thanks to Pietro Danesi
* lang/lithuanian update, thanks to Vilius Zigmantas
* lang/slovenian update, thanks to Kositer Uros
* lang/swedish: update, thanks to Björn T. Hallberg
* lang/swedish: update, thanks to Björn T. Hallberg
* tbl_change.php3: upload field only to BLOBs
* libraries/defines.lib.php3, libraries/common.lib.php3: adjust Konqueror
font size
@@ -4557,7 +4566,7 @@ $Source$
* db_stats.php3: Removed, the file is replaced by server_databases.php3.
* lang/german-*.inc.php3: Updates.
* config.inc.php3: Added a note about another possible setting.
* lang/galician-*.inc.php3: Updates, thanks to Xosé Calvo.
* lang/galician-*.inc.php3: Updates, thanks to Xosé Calvo.
* lang/romanian-*.inc.php3: Updates, thanks to Valics Lehel.
* translators.html: Fixed a typo.
* lang/indonesian-*.inc.php3: Updates, thanks to Rachim Tamsjadi (tamsy).
@@ -4576,7 +4585,7 @@ $Source$
* lang/italian: update, thanks to Pietro Danesi
* lang/norwegian: update, thanks to Sven-Erik Andersen
* lang/polish: update, thanks to Jakub Wilk
* lang/swedish: update, thanks to Björn T. Hallberg
* lang/swedish: update, thanks to Björn T. Hallberg
* lang/slovak: remove duplicates
* lang/*, tbl_properties.inc.php3: new $strDefaultValueHelp
@@ -4647,7 +4656,7 @@ $Source$
* lang/catalan: update, thanks to Xavier Navarro
* lang/dutch update, thanks to Ivo Teel
2003-02-02 Olivier L. Müller <om@omnis.ch>
2003-02-02 Olivier L. Müller <om@omnis.ch>
* tbl_addfield.php3: ignore empty fields on alter table
2003-02-02 Alexander M. Turek <rabus@users.sourceforge.net>
@@ -4671,7 +4680,7 @@ $Source$
(later when we get enough translations,
we can use it instead of $strCandLoadMySQL)
* lang/romanian: update, thanks to Valics Lehel
* lang/galician: update, thanks to Xosé Calvo
* lang/galician: update, thanks to Xosé Calvo
* lang/lithuanian: update, thanks to Vilius Zigmantas
* lang/japanese: update, thanks to Yukihiro Kawada
* lang/*, libraries/dbg/profiling.php3: strDBGMaxTimeMs,
@@ -4741,7 +4750,7 @@ $Source$
* tbl_relation.php3, bug 659227: in Relation View, cannot enter comments
2003-01-22 Robin Johnson <robbat2@users.sourceforge.net>
* lang/swedish*: Updates, thanks to Björn T. Hallberg (bth)
* lang/swedish*: Updates, thanks to Björn T. Hallberg (bth)
* lang/italian*: Updates, thanks to Pietro Danesi (danone)
* lang/english*: Resorted and Resynced.
* lang/farsi*: Added ready for Farsi translation
@@ -4834,7 +4843,7 @@ $Source$
* lang/catalan-*.inc.php3: Updates, thanks to Xavier Navarro (xavin).
2003-01-14 Marc Delisle <lem9@users.sourceforge.net>
* lang/galician: update, thanks to Xosé Calvo
* lang/galician: update, thanks to Xosé Calvo
* lang/spanish: update, thanks to Dr. med. Daniel Hinostroza C.
2003-01-14 Michal Cihar <nijel@users.sourceforge.net>
@@ -4897,7 +4906,7 @@ $Source$
* libraries/sqlparser.lib.php3, libraries/functions.js,
sql.php3: - use the parser for confirmation requests
- better check before appending LIMIT
* lang/galician: update, thanks to Xosé Calvo
* lang/galician: update, thanks to Xosé Calvo
* lang/spanish: update, thanks to Dr. med. Daniel Hinostroza C.
* lang/indonesian: missing semicolon
* lang/japanese: update, thanks to Yukihiro Kawada
@@ -4955,8 +4964,8 @@ $Source$
2003-01-03 Marc Delisle <lem9@users.sourceforge.net>
* lang/estonian*, malay*: remove control M
* lang/romanian: update, thanks to Valics Lehel
* lang/galician: update, thanks to Xosé Calvo
* lang/english: typos fix, thanks to Björn T. Hallberg (bth)
* lang/galician: update, thanks to Xosé Calvo
* lang/english: typos fix, thanks to Björn T. Hallberg (bth)
2003-01-01 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/german*: Updated.
@@ -5056,7 +5065,7 @@ $Source$
2002-12-16 Marc Delisle <lem9@users.sourceforge.net>
* lang/russian: update, thanks to Nicolay Zakharov
* lang/galician: update, thanks to Xosé Calvo
* lang/galician: update, thanks to Xosé Calvo
2002-12-15 Marc Delisle <lem9@users.sourceforge.net>
* libraries/get_foreign.lib.php3: bug 646263,
@@ -5100,7 +5109,7 @@ $Source$
thanks to Valentine for creating the patch #627496.
2002-12-11 Marc Delisle <lem9@users.sourceforge.net>
* lang/galician: update, thanks to Xosé Calvo
* lang/galician: update, thanks to Xosé Calvo
* libraries/sqlparser.lib.php3: bug 649665 undefined vars with UNION,
but there is still some work to do about how to split a UNION
* tbl_properties_options.php3, bug 651522 wrong back-link,
@@ -5122,7 +5131,7 @@ $Source$
2002-12-09 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/norwegian-*.inc.php3: Updates, thanks again to
Sven-Erik Andersen (sven-erik).
* lang/swedish-*.inc.php3: Updates, thanks again to Björn T. Hallberg (bth).
* lang/swedish-*.inc.php3: Updates, thanks again to Björn T. Hallberg (bth).
* lang/spanish-*.inc.php3: Updates, thanks again to
Dr. med. Daniel Hinostroza C.
@@ -5168,7 +5177,7 @@ $Source$
thanks to Piotr Roszatycki (d3xter)
2002-12-05 Alexander M. Turek <rabus@users.sourceforge.net>
* lang/swedish.inc.php3: Updates, thanks again to Björn T. Hallberg (bth).
* lang/swedish.inc.php3: Updates, thanks again to Björn T. Hallberg (bth).
2002-12-05 Marc Delisle <lem9@users.sourceforge.net>
* pdf_schema.php3: remove control M

View File

@@ -57,9 +57,13 @@ if (isset($submit_search)) {
$sqlstr_delete = 'DELETE';
// Fields to select
$res = PMA_DBI_query('SHOW FIELDS FROM ' . PMA_backquote($table) . ' FROM ' . PMA_backquote($GLOBALS['db']) . ';');
while (list($current) = PMA_DBI_fetch_row($res)) {
$tblfields[] = PMA_backquote($current);
$res = PMA_DBI_query('SHOW ' . (PMA_MYSQL_INT_VERSION >= 40100 ? 'FULL ' : '') . 'FIELDS FROM ' . PMA_backquote($table) . ' FROM ' . PMA_backquote($GLOBALS['db']) . ';');
while ($current = PMA_DBI_fetch_assoc($res)) {
if (PMA_MYSQL_INT_VERSION >= 40100) {
list($current['Charset']) = explode('_', $current['Collation']);
}
$current['Field'] = PMA_backquote($current['Field']);
$tblfields[] = $current;
} // while
PMA_DBI_free_result($res);
unset($current, $res);
@@ -81,12 +85,20 @@ if (isset($submit_search)) {
// Elimines empty values
if (!empty($search_words[$i])) {
for ($j = 0; $j < $tblfields_cnt; $j++) {
$thefieldlikevalue[] = $tblfields[$j]
. ' ' . $like_or_regex
. ' \''
$prefix = PMA_MYSQL_INT_VERSION >= 40100 && $tblfields[$j]['Charset'] != 'NULL'
? 'CONVERT(_utf8 '
: '';
$suffix = PMA_MYSQL_INT_VERSION >= 40100 && $tblfields[$j]['Charset'] != 'NULL'
? ' USING ' . $tblfields[$j]['Charset'] . ')'
: '';
$thefieldlikevalue[] = $tblfields[$j]['Field']
. ' ' . $like_or_regex . ' '
. $prefix
. '\''
. $automatic_wildcard
. $search_words[$i]
. $automatic_wildcard . '\'';
. $automatic_wildcard . '\''
. $suffix;
} // end for
$fieldslikevalues[] = ($search_wds_cnt > 1)