From dc55ba16a8b8c6d006c262cd5c61d59e2a9d9260 Mon Sep 17 00:00:00 2001 From: Xavier Navarro Date: Thu, 11 Feb 2016 23:11:16 +0100 Subject: [PATCH 1/3] Translated using Weblate (Catalan) Currently translated at 100.0% (3214 of 3214 strings) [CI skip] --- po/ca.po | 35 ++++++++++++++++++++--------------- 1 file changed, 20 insertions(+), 15 deletions(-) diff --git a/po/ca.po b/po/ca.po index b4314db00a..610916b5dd 100644 --- a/po/ca.po +++ b/po/ca.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.6.0-dev\n" "Report-Msgid-Bugs-To: translators@phpmyadmin.net\n" "POT-Creation-Date: 2016-02-08 09:38+0100\n" -"PO-Revision-Date: 2016-01-08 10:34+0000\n" +"PO-Revision-Date: 2016-02-11 23:11+0000\n" "Last-Translator: Xavier Navarro \n" -"Language-Team: Catalan \n" +"Language-Team: Catalan " +"\n" "Language: ca\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -519,7 +519,7 @@ msgstr "" #: import.php:54 msgid "Succeeded" -msgstr "Sucedit" +msgstr "Amb èxit" #: import.php:58 js/messages.php:592 msgid "Failed" @@ -771,6 +771,9 @@ msgid "" "The curl extension was not found and allow_url_fopen is disabled. Due to " "this some features such as error reporting or version check are disabled." msgstr "" +"No s'ha trobat l'extensió -curl- i s'ha desactivat -allow_url_fopen-. Degut " +"a aixó, s'han desactivat algunes caracteristiques, com l'informe d'errors o " +"la comprovació de la versió." #: index.php:499 msgid "" @@ -2570,22 +2573,27 @@ msgid "" "cause such a problem, clearing your \"Offline Website Data\" might help. In " "Safari, such problem is commonly caused by \"Private Mode Browsing\"." msgstr "" +"Hi hi havia un problema accedint a l'emmagatzematge local del teu navegador, " +"algunes característiques poden no treballar correctament. Probablement pot " +"ser que el navegador no doni suport a l'emmagatzematge o que s'ha assolit el " +"límit de quota. En Firefox, també pot causar el problema que s'hagi " +"corromput l'emmagatzematge, netejar les teves \"Dades de Pàgina web sense " +"connexió\" podria ajudar. En Safari, tal problema és generalment causat pel " +"\"Mode Privat de Navegació\"." #: js/messages.php:711 msgid "Copy tables to" msgstr "Còpia taules a" #: js/messages.php:712 -#, fuzzy #| msgid "Add table prefix:" msgid "Add table prefix" -msgstr "Afegir prefix de taula:" +msgstr "Afegir prefix de taula" #: js/messages.php:713 -#, fuzzy #| msgid "Replace table prefix" msgid "Replace table with prefix" -msgstr "Canvia el prefix de la taula" +msgstr "Reemplaçar taula amb prefix" #: js/messages.php:714 templates/database/structure/check_all_tables.phtml:29 msgid "Copy table with prefix" @@ -3236,10 +3244,9 @@ msgid "Switch to dark theme" msgstr "Canvia al tema <>" #: libraries/DatabaseInterface.php:1528 -#, fuzzy #| msgid "Failed to read configuration file!" msgid "Failed to set configured collation connection!" -msgstr "No es pot llegir l'arxiu de configuració!" +msgstr "No es pot establir el joc de caracters de connexió configurat!" #: libraries/DatabaseInterface.php:2139 msgid "" @@ -9111,10 +9118,9 @@ msgid "Data only" msgstr "Només dades" #: libraries/mult_submits.lib.php:349 -#, fuzzy #| msgid "Add AUTO_INCREMENT value" msgid "Add AUTO INCREMENT value" -msgstr "Afegeix valor AUTO_INCREMENT" +msgstr "Afegeix valor AUTO INCREMENT" #: libraries/mult_submits.lib.php:351 libraries/operations.lib.php:225 #: libraries/operations.lib.php:1288 @@ -10527,10 +10533,9 @@ msgstr "" "bolquin i recarreguin entre servidors de diferents zones horàries)" #: libraries/plugins/export/ExportSql.php:508 -#, fuzzy #| msgid "It appears your database uses functions;" msgid "It appears your database uses routines;" -msgstr "Sembla que la teva base de dades fa servir funcions;" +msgstr "Sembla que la teva base de dades fa servir rutines;" #: libraries/plugins/export/ExportSql.php:511 #: libraries/plugins/export/ExportSql.php:1526 @@ -11146,7 +11151,7 @@ msgstr "Activat" #: libraries/relation.lib.php:101 msgid "Configuration of pmadb…" -msgstr "Configuració de pmadb... " +msgstr "Configuració de pmadb…" #: libraries/relation.lib.php:105 libraries/relation.lib.php:141 msgid "General relation features" From ab965e320d98ec9244314383fc96b69b5dfd1a96 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Jouni=20K=C3=A4hk=C3=B6nen?= Date: Thu, 11 Feb 2016 19:47:58 +0100 Subject: [PATCH 2/3] Translated using Weblate (Finnish) Currently translated at 67.6% (2174 of 3214 strings) [CI skip] --- po/fi.po | 110 +++++++++++++++++++++++++++---------------------------- 1 file changed, 53 insertions(+), 57 deletions(-) diff --git a/po/fi.po b/po/fi.po index e6642ad43e..c5de293baa 100644 --- a/po/fi.po +++ b/po/fi.po @@ -4,10 +4,10 @@ msgstr "" "Project-Id-Version: phpMyAdmin 4.6.0-dev\n" "Report-Msgid-Bugs-To: translators@phpmyadmin.net\n" "POT-Creation-Date: 2016-02-08 09:38+0100\n" -"PO-Revision-Date: 2016-01-25 09:44+0000\n" -"Last-Translator: Daniel Iltanen \n" -"Language-Team: Finnish \n" +"PO-Revision-Date: 2016-02-11 19:47+0000\n" +"Last-Translator: Jouni Kähkönen \n" +"Language-Team: Finnish " +"\n" "Language: fi\n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" @@ -767,6 +767,9 @@ msgid "" "The curl extension was not found and allow_url_fopen is disabled. Due to " "this some features such as error reporting or version check are disabled." msgstr "" +"Laajennusta curl ei löytynyt, ja allow_url_fopen on pois päältä. Tämän takia " +"jotkin toiminnot, kuten virheraportointi tai versiontarkistus, ovat poissa " +"käytöstä." #: index.php:499 msgid "" @@ -971,7 +974,6 @@ msgid "Are you sure you wish to change the collation and convert the data?" msgstr "Oletko varma että haluat vaihtaa kollaatiota ja kääntää datan?" #: js/messages.php:98 -#, fuzzy #| msgid "" #| "Through this operation, MySQL attempts to map the data values between " #| "collations. If the character sets are incompatible, there may be data " @@ -987,12 +989,12 @@ msgid "" "column(s) editing feature (the \"Change\" Link) on the table structure page. " "" msgstr "" -"Tässä operaatiossa MySQL yrittää kartoittaa data-arvot kollaatioiden " -"välillä. Mikäli merkistöt eivät ole yhteensopivia, saattaa seurauksena olla " -"datan menettäminen ja tätä menetettyädataa EI voi palauttaa " -"vaihtamalla takaisin sarakekollaatioon. Kääntääksesi olemassa olevan " -"datan on ehdotettu että käytät sarakkeen muokkausominaisuutta taulun " -"rakennesivulla. " +"Tällä toiminnolla MySQL yrittää muuntaa tietoarvot aakkosjärjestyksestä " +"toiseen. Mikäli merkistöt eivät ole yhteensopivia, saattaa seurauksena olla " +"tietojen katoaminen, jolloin kadonneita tietoja EI voi palauttaa " +"vaihtamalla takaisin sarakeaakkosjärjestykseen. Olemassa olevien " +"tietojen muuntamiseen suositellaan käytettävän sarakkeen " +"muokkausominaisuutta (\"Muuta\"-linkki) taulun rakennesivulla. " #: js/messages.php:107 msgid "" @@ -1679,10 +1681,9 @@ msgid "Formatting SQL…" msgstr "Formatoidaan SQL-kyselyä…" #: js/messages.php:346 -#, fuzzy #| msgid "Bad parameters!" msgid "No parameters found!" -msgstr "Virheelliset parametrit!" +msgstr "Parametrit puuttuvat!" #: js/messages.php:350 #: templates/database/designer/aggregate_query_panel.phtml:63 @@ -2564,18 +2565,22 @@ msgid "" "cause such a problem, clearing your \"Offline Website Data\" might help. In " "Safari, such problem is commonly caused by \"Private Mode Browsing\"." msgstr "" +"Selainmuistin käytössä on ongelmia, jonka vuoksi jotkin ominaisuudet eivät " +"välttämättä toimi oikein. Selaimessa ei ehkä ole tukea muistin käytölle tai " +"muistin kiintiöraja on ylitetty. Firefox-selaimessa viallinen muistipaikka " +"voi aiheuttaa tällaisen ongelman. \"Verkkosivujen offline-tietojen\" " +"tyhjennys voi auttaa. Safari-selaimella tällaisen ongelman aiheuttaa yleensä " +"\"yksityisen tilan selaus\"." #: js/messages.php:711 -#, fuzzy #| msgid "Copy database to" msgid "Copy tables to" -msgstr "Luo tietokannasta toinen tietokanta nimellä" +msgstr "Kopioi taulut tietokantaan" #: js/messages.php:712 -#, fuzzy #| msgid "Apply index(s)" msgid "Add table prefix" -msgstr "Käytä indeksiä/indeksejä" +msgstr "Lisää tauluun etuliite" #: js/messages.php:713 #, fuzzy @@ -3232,10 +3237,9 @@ msgid "Switch to dark theme" msgstr "Vaihda tummaan teemaan" #: libraries/DatabaseInterface.php:1528 -#, fuzzy #| msgid "Failed to read configuration file!" msgid "Failed to set configured collation connection!" -msgstr "Asetustiedoston lukeminen epäonnistui!" +msgstr "Konfiguroidun lajitteluyhteyden asettaminen epäonnistui!" #: libraries/DatabaseInterface.php:2139 msgid "" @@ -3624,7 +3628,7 @@ msgstr "Valitse kaikki" #: libraries/DisplayResults.php:5006 msgid "Copy to clipboard" -msgstr "" +msgstr "Kopioi leikepöydälle" #: libraries/DisplayResults.php:5062 msgid "Query results operations" @@ -3844,7 +3848,7 @@ msgstr "Sivunumero:" #: libraries/LanguageManager.php:778 msgid "Ignoring unsupported language code." -msgstr "" +msgstr "Tukematon kielikoodi ohitettiin." #: libraries/Linter.php:99 msgid "" @@ -4612,6 +4616,8 @@ msgid "" "Stores and enables efficient access to data in JSON (JavaScript Object " "Notation) documents" msgstr "" +"Mahdollistaa tehokkaan pääsyn JSON-tiedostojen (JavaScript Object Notation) " +"tietoihin" #: libraries/TypesMySQL.php:479 msgctxt "numeric types" @@ -4673,13 +4679,11 @@ msgid "Analyze Explain at %s" msgstr "Analyysin selostus %s" #: libraries/Util.php:1250 -#, fuzzy #| msgid "Without PHP Code" msgid "Without PHP code" msgstr "Ilman PHP-koodia" #: libraries/Util.php:1262 -#, fuzzy #| msgid "Submit Query" msgid "Submit query" msgstr "Suorita kysely" @@ -5604,14 +5608,13 @@ msgid "Whether the table structure actions should be hidden." msgstr "Mikäli taulun rakenteiden toiminnot pitäisi olla piilossa." #: libraries/config/messages.inc.php:117 -#, fuzzy #| msgid "Table comments" msgid "Show column comments" -msgstr "Taulun kommentit" +msgstr "Näytä sarakekommentit" #: libraries/config/messages.inc.php:119 msgid "Whether column comments should be shown in table structure view" -msgstr "" +msgstr "Pitääkö sarakekommentit näyttää taulurakennenäkymässä" #: libraries/config/messages.inc.php:120 msgid "Hide table structure actions" @@ -7368,13 +7371,15 @@ msgid "" "menus feature; leaving either one of them blank will disable this feature, " "suggested: [kbd]pma__usergroups[/kbd]." msgstr "" +"Muokattavien valikoiden sallimiseksi tarvitaan sekä tätä taulua että " +"käyttäjätaulua; jos jompi kumpi näistä jätetään tyhjäksi, poistuu tämä " +"toiminto käytöstä, ehdotus: [kbd]pma__usergroups[/kbd]." #: libraries/config/messages.inc.php:823 msgid "User groups table" msgstr "Käyttäjäryhmät taulukko" #: libraries/config/messages.inc.php:825 -#, fuzzy #| msgid "" #| "Leave blank to disable the feature to hide and show navigation items, " #| "suggested: [kbd]pma__navigationhiding[/kbd]" @@ -7382,12 +7387,12 @@ msgid "" "Leave blank to disable the feature to hide and show navigation items, " "suggested: [kbd]pma__navigationhiding[/kbd]." msgstr "" -"Jätä tyhjäksi jos haluat poistaa käytöstä, piilota ja näytä navigointi " -"kohteet, oletusarvo: [kbd]pma_history[/kbd]" +"Jätä tyhjäksi, jos haluat poistaa käytöstä navigointikohteiden piilotus- ja " +"näyttötoiminnon, ehdotus: [kbd]pma__navigationhiding[/kbd]" #: libraries/config/messages.inc.php:828 msgid "Hidden navigation items table" -msgstr "" +msgstr "Piilotettujen navigointikohteiden taulu" #: libraries/config/messages.inc.php:830 msgid "User for config auth" @@ -7406,17 +7411,15 @@ msgid "Verbose name of this server" msgstr "Tämän palvelimen yksityiskohtainen nimi" #: libraries/config/messages.inc.php:837 -#, fuzzy #| msgid "Whether a user should be displayed a \"show all (rows)\" button" msgid "Whether a user should be displayed a \"show all (rows)\" button." -msgstr "Näyttääkö käyttäjälle \"Näytä kaikki (rivit)\"-painike" +msgstr "Näytetäänkö käyttäjälle \"Näytä kaikki (rivit)\" -painike." #: libraries/config/messages.inc.php:839 msgid "Allow to display all the rows" msgstr "Salli kaikkien rivien näyttäminen" #: libraries/config/messages.inc.php:841 -#, fuzzy #| msgid "" #| "Please note that enabling this has no effect with [kbd]config[/kbd] " #| "authentication mode because the password is hard coded in the " @@ -7427,9 +7430,9 @@ msgid "" "authentication mode because the password is hard coded in the configuration " "file; this does not limit the ability to execute the same command directly." msgstr "" -"Huomaa, että tämän käyttöönotolla ei ole vaikutusta [kbd]config[/kbd]-" -"todennusta käytettäessä, koska salasana lukee suoraan asetustiedostossa; " -"tämä ei estä saman komennon suorittamista suoraan." +"Huomaa, että tämän käytöllä ei ole vaikutusta [kbd]config[/kbd]-todennusta " +"käytettäessä, koska salasana lukee suoraan asetustiedostossa; tämä ei " +"rajoita saman komennon suoraan suorittamisen mahdollisuutta." #: libraries/config/messages.inc.php:845 msgid "Show password change form" @@ -7444,31 +7447,31 @@ msgid "Show or hide a column displaying the comments for all tables." msgstr "Näytä tai piilota kommentti -sarake kaikista tauluista." #: libraries/config/messages.inc.php:850 -#, fuzzy #| msgid "Table comments" msgid "Show table comments" -msgstr "Taulun kommentit" +msgstr "Näytä taulun kommentit" #: libraries/config/messages.inc.php:852 msgid "Show or hide a column displaying the Creation timestamp for all tables." msgstr "" +"Näytä tai piilota sarake, joka näyttää kaikkien taulujen luontiajankohdan." #: libraries/config/messages.inc.php:854 -#, fuzzy #| msgid "Show Creation timestamp" msgid "Show creation timestamp" -msgstr "Näytä luonnin aikaleima" +msgstr "Näytä luontiajankohta" #: libraries/config/messages.inc.php:856 msgid "" "Show or hide a column displaying the Last update timestamp for all tables." msgstr "" +"Näytä tai piilota sarake, joka näyttää kaikkien taulujen viime päivityksen " +"ajankohdan." #: libraries/config/messages.inc.php:858 -#, fuzzy #| msgid "Show Last check timestamp" msgid "Show last update timestamp" -msgstr "Näytä viimeisin tarkastus aikaleima" +msgstr "Näytä viime päivityksen ajankohta" #: libraries/config/messages.inc.php:860 msgid "" @@ -7476,10 +7479,9 @@ msgid "" msgstr "" #: libraries/config/messages.inc.php:862 -#, fuzzy #| msgid "Show Last check timestamp" msgid "Show last check timestamp" -msgstr "Näytä viimeisin tarkastus aikaleima" +msgstr "Näytä viime tarkistuksen ajankohta" #: libraries/config/messages.inc.php:864 msgid "" @@ -7492,27 +7494,24 @@ msgid "Show field types" msgstr "Näytä kenttätyypit" #: libraries/config/messages.inc.php:869 -#, fuzzy #| msgid "Display the function fields in edit/insert mode" msgid "Display the function fields in edit/insert mode." -msgstr "Näytä funktiokentät muokkaus- ja liäsystilassa" +msgstr "Näytä funktiokentät muokkaus- ja lisäystilassa." #: libraries/config/messages.inc.php:871 msgid "Show function fields" msgstr "Näytä funktiokentät" #: libraries/config/messages.inc.php:872 -#, fuzzy #| msgid "Where to show the table row links" msgid "Whether to show hint or not." -msgstr "Tässä näytetään taulukon rivien linkit" +msgstr "Näytetäänkö vihjeet." #: libraries/config/messages.inc.php:873 msgid "Show hint" msgstr "Näytä vihje" #: libraries/config/messages.inc.php:875 -#, fuzzy #| msgid "" #| "Shows link to [a@http://php.net/manual/function.phpinfo.php]phpinfo()[/a] " #| "output" @@ -7520,8 +7519,8 @@ msgid "" "Shows link to [a@http://php.net/manual/function.phpinfo.php]phpinfo()[/a] " "output." msgstr "" -"Näyät linkki [a@http://php.net/manual/function.phpinfo.php]phpinfo()[/a]-" -"käskyn tulosteeseen" +"Näyttää linkin [a@http://php.net/manual/function.phpinfo.php]phpinfo()[/a]-" +"käskyn tulosteeseen." #: libraries/config/messages.inc.php:878 msgid "Show phpinfo() link" @@ -7532,12 +7531,11 @@ msgid "Show detailed MySQL server information" msgstr "Näytä MySQL-palvelimen tarkat tiedot" #: libraries/config/messages.inc.php:881 -#, fuzzy #| msgid "" #| "Defines whether SQL queries generated by phpMyAdmin should be displayed" msgid "" "Defines whether SQL queries generated by phpMyAdmin should be displayed." -msgstr "Määrittele, pitääkö phpMyAdminin luomat SQL-kyselyt näyttää" +msgstr "Määrittelee pitääkö phpMyAdminin luomat SQL-kyselyt näyttää." #: libraries/config/messages.inc.php:883 msgid "Show SQL queries" @@ -7553,24 +7551,22 @@ msgid "Retain query box" msgstr "Säilytä SQL-kyselylaatikko" #: libraries/config/messages.inc.php:889 -#, fuzzy #| msgid "Allow to display database and table statistics (eg. space usage)" msgid "Allow to display database and table statistics (eg. space usage)." -msgstr "Salli tietokannan ja taulun tilastojen (eli tilankäytön) näyttäminen" +msgstr "Salli tietokannan ja taulun tilastojen (eli tilankäytön) näyttäminen." #: libraries/config/messages.inc.php:891 msgid "Show statistics" msgstr "Näytä tilastot" #: libraries/config/messages.inc.php:893 -#, fuzzy #| msgid "" #| "Mark used tables and make it possible to show databases with locked tables" msgid "" "Mark used tables and make it possible to show databases with locked tables." msgstr "" "Merkitse käytetyt taulut ja mahdollista lukittuja tauluja sisältävien " -"tietokantojen näyttäminen" +"tietokantojen näyttäminen." #: libraries/config/messages.inc.php:895 msgid "Skip locked tables" From 04181fb2b9869e5e5a1365d7a6f03c92aec0632d Mon Sep 17 00:00:00 2001 From: Madhura Jayaratne Date: Fri, 12 Feb 2016 19:32:52 +1100 Subject: [PATCH 3/3] Fix #11911 Inserts via tbl_change.php in VARBINARY columns does not allow using HEX() and MD5() Signed-off-by: Madhura Jayaratne --- ChangeLog | 1 + libraries/insert_edit.lib.php | 6 +++++- tbl_replace.php | 2 +- test/libraries/PMA_insert_edit_test.php | 20 ++++++++++---------- 4 files changed, 17 insertions(+), 12 deletions(-) diff --git a/ChangeLog b/ChangeLog index 147f9b6f8f..33e34dd3d0 100644 --- a/ChangeLog +++ b/ChangeLog @@ -19,6 +19,7 @@ phpMyAdmin - ChangeLog - issue #11909 Can't insert row into table that contains generated column - issue #11677 sql-parser and php-gettext collide. - issue #11920 Can't disable backquotes in export +- issue #11911 Inserts via tbl_change.php in VARBINARY columns does not allow using HEX() and MD5() 4.5.4.1 (2016-01-29) - issue #11892 Error with PMA 4.4.15.3 diff --git a/libraries/insert_edit.lib.php b/libraries/insert_edit.lib.php index 573731a4e8..91bb8bf488 100644 --- a/libraries/insert_edit.lib.php +++ b/libraries/insert_edit.lib.php @@ -2281,13 +2281,15 @@ function PMA_getQueryValuesForInsertAndUpdateInMultipleEdit($multi_edit_columns_ * @param boolean $using_key whether editing or new row * @param string $where_clause where clause * @param string $table table name + * @param array $multi_edit_funcs multiple edit functions array * * @return string $current_value current column value in the form */ function PMA_getCurrentValueForDifferentTypes($possibly_uploaded_val, $key, $multi_edit_columns_type, $current_value, $multi_edit_auto_increment, $rownumber, $multi_edit_columns_name, $multi_edit_columns_null, - $multi_edit_columns_null_prev, $is_insert, $using_key, $where_clause, $table + $multi_edit_columns_null_prev, $is_insert, $using_key, $where_clause, $table, + $multi_edit_funcs ) { // Fetch the current values of a row to use in case we have a protected field if ($is_insert @@ -2302,6 +2304,8 @@ function PMA_getCurrentValueForDifferentTypes($possibly_uploaded_val, $key, if (false !== $possibly_uploaded_val) { $current_value = $possibly_uploaded_val; + } else if (! empty($multi_edit_funcs[$key])) { + $current_value = "'" . PMA_Util::sqlAddSlashes($current_value) . "'"; } else { // c o l u m n v a l u e i n t h e f o r m if (isset($multi_edit_columns_type[$key])) { diff --git a/tbl_replace.php b/tbl_replace.php index 9e61c13ff2..a81f9ccb02 100644 --- a/tbl_replace.php +++ b/tbl_replace.php @@ -257,7 +257,7 @@ foreach ($loop_array as $rownumber => $where_clause) { $current_value, $multi_edit_auto_increment, $rownumber, $multi_edit_columns_name, $multi_edit_columns_null, $multi_edit_columns_null_prev, $is_insert, - $using_key, $where_clause, $table + $using_key, $where_clause, $table, $multi_edit_funcs ); $current_value_as_an_array = PMA_getCurrentValueAsAnArrayForMultipleEdit( diff --git a/test/libraries/PMA_insert_edit_test.php b/test/libraries/PMA_insert_edit_test.php index 94c5bd3070..3b2b4a649a 100644 --- a/test/libraries/PMA_insert_edit_test.php +++ b/test/libraries/PMA_insert_edit_test.php @@ -2444,7 +2444,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase $result = PMA_getCurrentValueForDifferentTypes( '123', '0', array(), '', array(), 0, array(), array(), - array(), true, true, '1', 'table' + array(), true, true, '1', 'table', array() ); $this->assertEquals( @@ -2455,7 +2455,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase // case 2 $result = PMA_getCurrentValueForDifferentTypes( false, '0', array('test'), '', array(1), 0, array(), array(), - array(), true, true, '1', 'table' + array(), true, true, '1', 'table', array() ); $this->assertEquals( @@ -2466,7 +2466,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase // case 3 $result = PMA_getCurrentValueForDifferentTypes( false, '0', array('test'), '', array(), 0, array(), array(), - array(), true, true, '1', 'table' + array(), true, true, '1', 'table', array() ); $this->assertEquals( @@ -2478,7 +2478,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase $_REQUEST['fields']['multi_edit'][0][0] = array(); $result = PMA_getCurrentValueForDifferentTypes( false, '0', array('set'), '', array(), 0, array(), array(), - array(), true, true, '1', 'table' + array(), true, true, '1', 'table', array() ); $this->assertEquals( @@ -2489,7 +2489,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase // case 5 $result = PMA_getCurrentValueForDifferentTypes( false, '0', array('protected'), '', array(), 0, array('a'), array(), - array(), true, true, '1', 'table' + array(), true, true, '1', 'table', array() ); $this->assertEquals( @@ -2500,7 +2500,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase // case 6 $result = PMA_getCurrentValueForDifferentTypes( false, '0', array('protected'), '', array(), 0, array('a'), array(), - array(), true, true, '1', 'table' + array(), true, true, '1', 'table', array() ); $this->assertEquals( @@ -2511,7 +2511,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase // case 7 $result = PMA_getCurrentValueForDifferentTypes( false, '0', array('bit'), '20\'12', array(), 0, array('a'), array(), - array(), true, true, '1', 'table' + array(), true, true, '1', 'table', array() ); $this->assertEquals( @@ -2522,7 +2522,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase // case 7 $result = PMA_getCurrentValueForDifferentTypes( false, '0', array('date'), '20\'12', array(), 0, array('a'), array(), - array(), true, true, '1', 'table' + array(), true, true, '1', 'table', array() ); $this->assertEquals( @@ -2534,7 +2534,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase $_REQUEST['fields']['multi_edit'][0][0] = array(); $result = PMA_getCurrentValueForDifferentTypes( false, '0', array('set'), '', array(), 0, array(), array(1), - array(), true, true, '1', 'table' + array(), true, true, '1', 'table', array() ); $this->assertEquals( @@ -2545,7 +2545,7 @@ class PMA_InsertEditTest extends PHPUnit_Framework_TestCase // case 9 $result = PMA_getCurrentValueForDifferentTypes( false, '0', array('protected'), '', array(), 0, array('a'), array(), - array(1), true, true, '1', 'table' + array(1), true, true, '1', 'table', array() ); $this->assertEquals(