simpletool 0.0.1 → 0.0.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1707) hide show
  1. checksums.yaml +4 -4
  2. data/lib/simpletool.rb +46 -11
  3. data/lib/support/ftp/vsftpd.conf +152 -0
  4. data/lib/support/phpmyadmin/nginx.phpmyadmin.default +112 -0
  5. data/lib/support/phpmyadmin/phpmyadmin/CONTRIBUTING.md +25 -0
  6. data/lib/support/phpmyadmin/phpmyadmin/ChangeLog +312 -0
  7. data/lib/support/phpmyadmin/phpmyadmin/DCO +44 -0
  8. data/lib/support/phpmyadmin/phpmyadmin/LICENSE +340 -0
  9. data/lib/support/phpmyadmin/phpmyadmin/README +52 -0
  10. data/lib/support/phpmyadmin/phpmyadmin/RELEASE-DATE-4.4.8 +1 -0
  11. data/lib/support/phpmyadmin/phpmyadmin/browse_foreigners.php +61 -0
  12. data/lib/support/phpmyadmin/phpmyadmin/changelog.php +153 -0
  13. data/lib/support/phpmyadmin/phpmyadmin/chk_rel.php +27 -0
  14. data/lib/support/phpmyadmin/phpmyadmin/composer.json +30 -0
  15. data/lib/support/phpmyadmin/phpmyadmin/config.sample.inc.php +152 -0
  16. data/lib/support/phpmyadmin/phpmyadmin/db_central_columns.php +134 -0
  17. data/lib/support/phpmyadmin/phpmyadmin/db_create.php +141 -0
  18. data/lib/support/phpmyadmin/phpmyadmin/db_datadict.php +208 -0
  19. data/lib/support/phpmyadmin/phpmyadmin/db_designer.php +173 -0
  20. data/lib/support/phpmyadmin/phpmyadmin/db_events.php +26 -0
  21. data/lib/support/phpmyadmin/phpmyadmin/db_export.php +94 -0
  22. data/lib/support/phpmyadmin/phpmyadmin/db_import.php +25 -0
  23. data/lib/support/phpmyadmin/phpmyadmin/db_operations.php +291 -0
  24. data/lib/support/phpmyadmin/phpmyadmin/db_printview.php +175 -0
  25. data/lib/support/phpmyadmin/phpmyadmin/db_qbe.php +131 -0
  26. data/lib/support/phpmyadmin/phpmyadmin/db_routines.php +27 -0
  27. data/lib/support/phpmyadmin/phpmyadmin/db_search.php +63 -0
  28. data/lib/support/phpmyadmin/phpmyadmin/db_sql.php +45 -0
  29. data/lib/support/phpmyadmin/phpmyadmin/db_sql_autocomplete.php +24 -0
  30. data/lib/support/phpmyadmin/phpmyadmin/db_sql_format.php +18 -0
  31. data/lib/support/phpmyadmin/phpmyadmin/db_structure.php +345 -0
  32. data/lib/support/phpmyadmin/phpmyadmin/db_tracking.php +350 -0
  33. data/lib/support/phpmyadmin/phpmyadmin/db_triggers.php +25 -0
  34. data/lib/support/phpmyadmin/phpmyadmin/doc/Makefile +197 -0
  35. data/lib/support/phpmyadmin/phpmyadmin/doc/_ext/configext.py +188 -0
  36. data/lib/support/phpmyadmin/phpmyadmin/doc/conf.py +304 -0
  37. data/lib/support/phpmyadmin/phpmyadmin/doc/config.rst +2794 -0
  38. data/lib/support/phpmyadmin/phpmyadmin/doc/copyright.rst +50 -0
  39. data/lib/support/phpmyadmin/phpmyadmin/doc/credits.rst +657 -0
  40. data/lib/support/phpmyadmin/phpmyadmin/doc/developers.rst +12 -0
  41. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/config.doctree +0 -0
  42. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/copyright.doctree +0 -0
  43. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/credits.doctree +0 -0
  44. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/developers.doctree +0 -0
  45. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/environment.pickle +0 -0
  46. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/faq.doctree +0 -0
  47. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/glossary.doctree +0 -0
  48. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/import_export.doctree +0 -0
  49. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/index.doctree +0 -0
  50. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/intro.doctree +0 -0
  51. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/other.doctree +0 -0
  52. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/privileges.doctree +0 -0
  53. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/require.doctree +0 -0
  54. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/setup.doctree +0 -0
  55. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/transformations.doctree +0 -0
  56. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/user.doctree +0 -0
  57. data/lib/support/phpmyadmin/phpmyadmin/doc/doctrees/vendors.doctree +0 -0
  58. data/lib/support/phpmyadmin/phpmyadmin/doc/faq.rst +2112 -0
  59. data/lib/support/phpmyadmin/phpmyadmin/doc/glossary.rst +399 -0
  60. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/config.txt +2794 -0
  61. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/copyright.txt +50 -0
  62. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/credits.txt +657 -0
  63. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/developers.txt +12 -0
  64. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/faq.txt +2112 -0
  65. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/glossary.txt +399 -0
  66. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/import_export.txt +27 -0
  67. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/index.txt +32 -0
  68. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/intro.txt +68 -0
  69. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/other.txt +18 -0
  70. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/privileges.txt +50 -0
  71. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/require.txt +54 -0
  72. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/setup.txt +543 -0
  73. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/transformations.txt +138 -0
  74. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/user.txt +10 -0
  75. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_sources/vendors.txt +35 -0
  76. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/ajax-loader.gif +0 -0
  77. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/basic.css +540 -0
  78. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/comment-bright.png +0 -0
  79. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/comment-close.png +0 -0
  80. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/comment.png +0 -0
  81. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/default.css +256 -0
  82. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/doctools.js +247 -0
  83. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/down-pressed.png +0 -0
  84. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/down.png +0 -0
  85. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/file.png +0 -0
  86. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/jquery.js +154 -0
  87. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/minus.png +0 -0
  88. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/plus.png +0 -0
  89. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/pygments.css +62 -0
  90. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/searchtools.js +560 -0
  91. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/sidebar.js +151 -0
  92. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/underscore.js +23 -0
  93. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/up-pressed.png +0 -0
  94. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/up.png +0 -0
  95. data/lib/support/phpmyadmin/phpmyadmin/doc/html/_static/websupport.js +808 -0
  96. data/lib/support/phpmyadmin/phpmyadmin/doc/html/config.html +5000 -0
  97. data/lib/support/phpmyadmin/phpmyadmin/doc/html/copyright.html +157 -0
  98. data/lib/support/phpmyadmin/phpmyadmin/doc/html/credits.html +714 -0
  99. data/lib/support/phpmyadmin/phpmyadmin/doc/html/developers.html +118 -0
  100. data/lib/support/phpmyadmin/phpmyadmin/doc/html/faq.html +1871 -0
  101. data/lib/support/phpmyadmin/phpmyadmin/doc/html/genindex.html +3807 -0
  102. data/lib/support/phpmyadmin/phpmyadmin/doc/html/glossary.html +618 -0
  103. data/lib/support/phpmyadmin/phpmyadmin/doc/html/import_export.html +148 -0
  104. data/lib/support/phpmyadmin/phpmyadmin/doc/html/index.html +210 -0
  105. data/lib/support/phpmyadmin/phpmyadmin/doc/html/intro.html +182 -0
  106. data/lib/support/phpmyadmin/phpmyadmin/doc/html/objects.inv +0 -0
  107. data/lib/support/phpmyadmin/phpmyadmin/doc/html/other.html +135 -0
  108. data/lib/support/phpmyadmin/phpmyadmin/doc/html/privileges.html +169 -0
  109. data/lib/support/phpmyadmin/phpmyadmin/doc/html/require.html +168 -0
  110. data/lib/support/phpmyadmin/phpmyadmin/doc/html/search.html +100 -0
  111. data/lib/support/phpmyadmin/phpmyadmin/doc/html/searchindex.js +1 -0
  112. data/lib/support/phpmyadmin/phpmyadmin/doc/html/setup.html +909 -0
  113. data/lib/support/phpmyadmin/phpmyadmin/doc/html/transformations.html +240 -0
  114. data/lib/support/phpmyadmin/phpmyadmin/doc/html/user.html +139 -0
  115. data/lib/support/phpmyadmin/phpmyadmin/doc/html/vendors.html +149 -0
  116. data/lib/support/phpmyadmin/phpmyadmin/doc/import_export.rst +27 -0
  117. data/lib/support/phpmyadmin/phpmyadmin/doc/index.rst +32 -0
  118. data/lib/support/phpmyadmin/phpmyadmin/doc/intro.rst +68 -0
  119. data/lib/support/phpmyadmin/phpmyadmin/doc/make.bat +242 -0
  120. data/lib/support/phpmyadmin/phpmyadmin/doc/other.rst +18 -0
  121. data/lib/support/phpmyadmin/phpmyadmin/doc/privileges.rst +50 -0
  122. data/lib/support/phpmyadmin/phpmyadmin/doc/require.rst +54 -0
  123. data/lib/support/phpmyadmin/phpmyadmin/doc/setup.rst +543 -0
  124. data/lib/support/phpmyadmin/phpmyadmin/doc/transformations.rst +138 -0
  125. data/lib/support/phpmyadmin/phpmyadmin/doc/user.rst +10 -0
  126. data/lib/support/phpmyadmin/phpmyadmin/doc/vendors.rst +35 -0
  127. data/lib/support/phpmyadmin/phpmyadmin/error_report.php +130 -0
  128. data/lib/support/phpmyadmin/phpmyadmin/examples/config.manyhosts.inc.php +51 -0
  129. data/lib/support/phpmyadmin/phpmyadmin/examples/openid.php +160 -0
  130. data/lib/support/phpmyadmin/phpmyadmin/examples/signon-script.php +37 -0
  131. data/lib/support/phpmyadmin/phpmyadmin/examples/signon.php +71 -0
  132. data/lib/support/phpmyadmin/phpmyadmin/examples/swekey.sample.conf +44 -0
  133. data/lib/support/phpmyadmin/phpmyadmin/export.php +480 -0
  134. data/lib/support/phpmyadmin/phpmyadmin/favicon.ico +0 -0
  135. data/lib/support/phpmyadmin/phpmyadmin/file_echo.php +81 -0
  136. data/lib/support/phpmyadmin/phpmyadmin/gis_data_editor.php +429 -0
  137. data/lib/support/phpmyadmin/phpmyadmin/import.php +770 -0
  138. data/lib/support/phpmyadmin/phpmyadmin/import_status.php +118 -0
  139. data/lib/support/phpmyadmin/phpmyadmin/index.php +701 -0
  140. data/lib/support/phpmyadmin/phpmyadmin/js/OpenStreetMap.js +126 -0
  141. data/lib/support/phpmyadmin/phpmyadmin/js/ajax.js +1031 -0
  142. data/lib/support/phpmyadmin/phpmyadmin/js/big_ints.js +67 -0
  143. data/lib/support/phpmyadmin/phpmyadmin/js/canvg/MIT-LICENSE.txt +22 -0
  144. data/lib/support/phpmyadmin/phpmyadmin/js/canvg/canvg.js +2509 -0
  145. data/lib/support/phpmyadmin/phpmyadmin/js/chart.js +664 -0
  146. data/lib/support/phpmyadmin/phpmyadmin/js/codemirror/LICENSE +19 -0
  147. data/lib/support/phpmyadmin/phpmyadmin/js/codemirror/addon/hint/show-hint.js +394 -0
  148. data/lib/support/phpmyadmin/phpmyadmin/js/codemirror/addon/hint/sql-hint.js +248 -0
  149. data/lib/support/phpmyadmin/phpmyadmin/js/codemirror/addon/runmode/runmode.js +72 -0
  150. data/lib/support/phpmyadmin/phpmyadmin/js/codemirror/lib/codemirror.js +8645 -0
  151. data/lib/support/phpmyadmin/phpmyadmin/js/codemirror/mode/javascript/javascript.js +692 -0
  152. data/lib/support/phpmyadmin/phpmyadmin/js/codemirror/mode/sql/sql.js +391 -0
  153. data/lib/support/phpmyadmin/phpmyadmin/js/codemirror/mode/xml/xml.js +384 -0
  154. data/lib/support/phpmyadmin/phpmyadmin/js/common.js +515 -0
  155. data/lib/support/phpmyadmin/phpmyadmin/js/config.js +798 -0
  156. data/lib/support/phpmyadmin/phpmyadmin/js/console.js +1032 -0
  157. data/lib/support/phpmyadmin/phpmyadmin/js/cross_framing_protection.js +10 -0
  158. data/lib/support/phpmyadmin/phpmyadmin/js/db_central_columns.js +200 -0
  159. data/lib/support/phpmyadmin/phpmyadmin/js/db_operations.js +157 -0
  160. data/lib/support/phpmyadmin/phpmyadmin/js/db_qbe.js +64 -0
  161. data/lib/support/phpmyadmin/phpmyadmin/js/db_search.js +239 -0
  162. data/lib/support/phpmyadmin/phpmyadmin/js/db_structure.js +391 -0
  163. data/lib/support/phpmyadmin/phpmyadmin/js/db_tracking.js +85 -0
  164. data/lib/support/phpmyadmin/phpmyadmin/js/doclinks.js +365 -0
  165. data/lib/support/phpmyadmin/phpmyadmin/js/error_report.js +340 -0
  166. data/lib/support/phpmyadmin/phpmyadmin/js/export.js +401 -0
  167. data/lib/support/phpmyadmin/phpmyadmin/js/functions.js +4579 -0
  168. data/lib/support/phpmyadmin/phpmyadmin/js/get_image.js.php +148 -0
  169. data/lib/support/phpmyadmin/phpmyadmin/js/get_scripts.js.php +62 -0
  170. data/lib/support/phpmyadmin/phpmyadmin/js/gis_data_editor.js +396 -0
  171. data/lib/support/phpmyadmin/phpmyadmin/js/import.js +167 -0
  172. data/lib/support/phpmyadmin/phpmyadmin/js/indexes.js +697 -0
  173. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/excanvas.js +1438 -0
  174. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/jquery.jqplot.js +11411 -0
  175. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/plugins/jqplot.barRenderer.js +801 -0
  176. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/plugins/jqplot.byteFormatter.js +46 -0
  177. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/plugins/jqplot.canvasAxisLabelRenderer.js +203 -0
  178. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/plugins/jqplot.canvasTextRenderer.js +449 -0
  179. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/plugins/jqplot.categoryAxisRenderer.js +679 -0
  180. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/plugins/jqplot.cursor.js +1108 -0
  181. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/plugins/jqplot.dateAxisRenderer.js +741 -0
  182. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/plugins/jqplot.highlighter.js +465 -0
  183. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/plugins/jqplot.pieRenderer.js +904 -0
  184. data/lib/support/phpmyadmin/phpmyadmin/js/jqplot/plugins/jqplot.pointLabels.js +377 -0
  185. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/MIT-LICENSE.txt +21 -0
  186. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery-1.11.1.min.js +4 -0
  187. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery-ui-1.11.2.min.js +13 -0
  188. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery-ui-timepicker-addon.js +2223 -0
  189. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery.ba-hashchange-1.3.js +390 -0
  190. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery.cookie.js +91 -0
  191. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery.debounce-1.0.5.js +71 -0
  192. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery.event.drag-2.2.js +402 -0
  193. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery.fullscreen.js +60 -0
  194. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery.mousewheel.js +221 -0
  195. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery.sortableTable.js +272 -0
  196. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery.svg.js +1352 -0
  197. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery.tablesorter.js +1033 -0
  198. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/jquery.uitablefilter.js +117 -0
  199. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/README +9 -0
  200. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/ajax/jsonp.js +89 -0
  201. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/ajax/load.js +75 -0
  202. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/ajax/parseJSON.js +51 -0
  203. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/ajax/parseXML.js +31 -0
  204. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/ajax/script.js +93 -0
  205. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/ajax/var/nonce.js +5 -0
  206. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/ajax/var/rquery.js +3 -0
  207. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/ajax/xhr.js +196 -0
  208. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/ajax.js +807 -0
  209. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/attributes/attr.js +271 -0
  210. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/attributes/classes.js +157 -0
  211. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/attributes/prop.js +134 -0
  212. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/attributes/support.js +62 -0
  213. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/attributes/val.js +178 -0
  214. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/attributes.js +11 -0
  215. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/callbacks.js +205 -0
  216. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/core/access.js +60 -0
  217. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/core/init.js +132 -0
  218. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/core/parseHTML.js +39 -0
  219. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/core/ready.js +152 -0
  220. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/core/var/rsingleTag.js +4 -0
  221. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/core.js +534 -0
  222. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css/addGetHookIf.js +32 -0
  223. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css/curCSS.js +117 -0
  224. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css/defaultDisplay.js +69 -0
  225. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css/hiddenVisibleSelectors.js +20 -0
  226. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css/support.js +149 -0
  227. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css/swap.js +28 -0
  228. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css/var/cssExpand.js +3 -0
  229. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css/var/isHidden.js +13 -0
  230. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css/var/rmargin.js +3 -0
  231. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css/var/rnumnonpx.js +5 -0
  232. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/css.js +504 -0
  233. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/data/accepts.js +21 -0
  234. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/data/support.js +25 -0
  235. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/data.js +335 -0
  236. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/deferred.js +150 -0
  237. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/deprecated.js +13 -0
  238. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/dimensions.js +50 -0
  239. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/effects/Tween.js +114 -0
  240. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/effects/animatedSelector.js +13 -0
  241. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/effects/support.js +55 -0
  242. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/effects.js +656 -0
  243. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/event/alias.js +39 -0
  244. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/event/support.js +26 -0
  245. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/event.js +1037 -0
  246. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/exports/amd.js +24 -0
  247. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/exports/global.js +32 -0
  248. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/intro.js +44 -0
  249. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/jquery.js +37 -0
  250. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/manipulation/_evalUrl.js +18 -0
  251. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/manipulation/support.js +76 -0
  252. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/manipulation/var/rcheckableType.js +3 -0
  253. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/manipulation.js +744 -0
  254. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/offset.js +211 -0
  255. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/outro.js +1 -0
  256. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/queue/delay.js +22 -0
  257. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/queue.js +142 -0
  258. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/selector-sizzle.js +14 -0
  259. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/selector.js +1 -0
  260. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/serialize.js +110 -0
  261. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/dist/sizzle.js +2044 -0
  262. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/dist/sizzle.min.js +3 -0
  263. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/dist/sizzle.min.map +1 -0
  264. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/test/data/empty.js +0 -0
  265. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/test/data/mixed_sort.html +22 -0
  266. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/test/data/testinit.js +136 -0
  267. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/test/index.html +242 -0
  268. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/test/jquery.js +9597 -0
  269. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/test/unit/extending.js +95 -0
  270. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/test/unit/selector.js +1149 -0
  271. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/sizzle/test/unit/utilities.js +169 -0
  272. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/support.js +58 -0
  273. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/traversing/findFilter.js +100 -0
  274. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/traversing/var/rneedsContext.js +6 -0
  275. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/traversing.js +200 -0
  276. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/class2type.js +4 -0
  277. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/concat.js +5 -0
  278. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/deletedIds.js +3 -0
  279. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/hasOwn.js +5 -0
  280. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/indexOf.js +5 -0
  281. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/pnum.js +3 -0
  282. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/push.js +5 -0
  283. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/rnotwhite.js +3 -0
  284. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/slice.js +5 -0
  285. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/strundefined.js +3 -0
  286. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/support.js +4 -0
  287. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/var/toString.js +5 -0
  288. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery/wrap.js +75 -0
  289. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/accordion.js +584 -0
  290. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/autocomplete.js +628 -0
  291. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/button.js +411 -0
  292. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/core.js +304 -0
  293. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/datepicker.js +2080 -0
  294. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/dialog.js +875 -0
  295. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/draggable.js +1128 -0
  296. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/droppable.js +413 -0
  297. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-blind.js +90 -0
  298. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-bounce.js +123 -0
  299. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-clip.js +77 -0
  300. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-drop.js +75 -0
  301. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-explode.js +107 -0
  302. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-fade.js +40 -0
  303. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-fold.js +86 -0
  304. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-highlight.js +60 -0
  305. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-puff.js +60 -0
  306. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-pulsate.js +73 -0
  307. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-scale.js +89 -0
  308. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-shake.js +84 -0
  309. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-size.js +233 -0
  310. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-slide.js +74 -0
  311. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect-transfer.js +57 -0
  312. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/effect.js +1301 -0
  313. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/menu.js +646 -0
  314. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/mouse.js +199 -0
  315. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/position.js +517 -0
  316. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/progressbar.js +159 -0
  317. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/resizable.js +1179 -0
  318. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/selectable.js +287 -0
  319. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/selectmenu.js +616 -0
  320. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/slider.js +699 -0
  321. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/sortable.js +1304 -0
  322. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/spinner.js +514 -0
  323. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/tabs.js +880 -0
  324. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/tooltip.js +461 -0
  325. data/lib/support/phpmyadmin/phpmyadmin/js/jquery/src/jquery-ui/widget.js +557 -0
  326. data/lib/support/phpmyadmin/phpmyadmin/js/keyhandler.js +145 -0
  327. data/lib/support/phpmyadmin/phpmyadmin/js/line_counts.php +523 -0
  328. data/lib/support/phpmyadmin/phpmyadmin/js/makegrid.js +1973 -0
  329. data/lib/support/phpmyadmin/phpmyadmin/js/menu-resizer.js +182 -0
  330. data/lib/support/phpmyadmin/phpmyadmin/js/messages.php +718 -0
  331. data/lib/support/phpmyadmin/phpmyadmin/js/multi_column_sort.js +81 -0
  332. data/lib/support/phpmyadmin/phpmyadmin/js/navigation.js +1505 -0
  333. data/lib/support/phpmyadmin/phpmyadmin/js/normalization.js +707 -0
  334. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/OpenLayers.js +2681 -0
  335. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/blank.gif +0 -0
  336. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/cloud-popup-relative.png +0 -0
  337. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/drag-rectangle-off.png +0 -0
  338. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/drag-rectangle-on.png +0 -0
  339. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/east-mini.png +0 -0
  340. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/layer-switcher-maximize.png +0 -0
  341. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/layer-switcher-minimize.png +0 -0
  342. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/marker-blue.png +0 -0
  343. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/marker-gold.png +0 -0
  344. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/marker-green.png +0 -0
  345. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/marker.png +0 -0
  346. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/measuring-stick-off.png +0 -0
  347. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/measuring-stick-on.png +0 -0
  348. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/north-mini.png +0 -0
  349. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/panning-hand-off.png +0 -0
  350. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/panning-hand-on.png +0 -0
  351. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/slider.png +0 -0
  352. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/south-mini.png +0 -0
  353. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/west-mini.png +0 -0
  354. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/zoom-minus-mini.png +0 -0
  355. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/zoom-plus-mini.png +0 -0
  356. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/zoom-world-mini.png +0 -0
  357. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/img/zoombar.png +0 -0
  358. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/README +12 -0
  359. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Firebug/errorIcon.png +0 -0
  360. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Firebug/firebug.css +209 -0
  361. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Firebug/firebug.html +23 -0
  362. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Firebug/firebug.js +674 -0
  363. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Firebug/firebugx.js +9 -0
  364. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Firebug/infoIcon.png +0 -0
  365. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Firebug/license.txt +30 -0
  366. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Firebug/readme.txt +13 -0
  367. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Firebug/warningIcon.png +0 -0
  368. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Gears/gears_init.js +88 -0
  369. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Ajax.js +678 -0
  370. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/BaseTypes/Bounds.js +681 -0
  371. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/BaseTypes/Class.js +116 -0
  372. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/BaseTypes/Element.js +251 -0
  373. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/BaseTypes/LonLat.js +190 -0
  374. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/BaseTypes/Pixel.js +125 -0
  375. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/BaseTypes/Size.js +85 -0
  376. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/BaseTypes.js +682 -0
  377. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Console.js +246 -0
  378. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/ArgParser.js +166 -0
  379. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Attribution.js +97 -0
  380. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Button.js +44 -0
  381. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/DragFeature.js +303 -0
  382. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/DragPan.js +94 -0
  383. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/DrawFeature.js +126 -0
  384. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/EditingToolbar.js +63 -0
  385. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/GetFeature.js +595 -0
  386. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Graticule.js +373 -0
  387. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/KeyboardDefaults.js +127 -0
  388. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/LayerSwitcher.js +620 -0
  389. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Measure.js +321 -0
  390. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/ModifyFeature.js +777 -0
  391. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/MouseDefaults.js +368 -0
  392. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/MousePosition.js +213 -0
  393. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/MouseToolbar.js +406 -0
  394. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/NavToolbar.js +55 -0
  395. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Navigation.js +303 -0
  396. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/NavigationHistory.js +423 -0
  397. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/OverviewMap.js +720 -0
  398. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Pan.js +86 -0
  399. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/PanPanel.js +63 -0
  400. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/PanZoom.js +246 -0
  401. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/PanZoomBar.js +396 -0
  402. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Panel.js +371 -0
  403. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Permalink.js +220 -0
  404. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/SLDSelect.js +570 -0
  405. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Scale.js +99 -0
  406. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/ScaleLine.js +223 -0
  407. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/SelectFeature.js +613 -0
  408. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Snapping.js +547 -0
  409. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/Split.js +498 -0
  410. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/TransformFeature.js +579 -0
  411. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/WMSGetFeatureInfo.js +524 -0
  412. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/WMTSGetFeatureInfo.js +442 -0
  413. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/ZoomBox.js +95 -0
  414. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/ZoomIn.js +35 -0
  415. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/ZoomOut.js +35 -0
  416. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/ZoomPanel.js +54 -0
  417. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control/ZoomToMaxExtent.js +40 -0
  418. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Control.js +368 -0
  419. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Events.js +855 -0
  420. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Feature/Vector.js +454 -0
  421. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Feature/WFS.js +80 -0
  422. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Feature.js +227 -0
  423. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Filter/Comparison.js +258 -0
  424. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Filter/FeatureId.js +81 -0
  425. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Filter/Logical.js +119 -0
  426. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Filter/Spatial.js +128 -0
  427. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Filter.js +68 -0
  428. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/ArcXML/Features.js +49 -0
  429. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/ArcXML.js +1028 -0
  430. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/Atom.js +727 -0
  431. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/CSWGetDomain/v2_0_2.js +243 -0
  432. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/CSWGetDomain.js +34 -0
  433. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/CSWGetRecords/v2_0_2.js +440 -0
  434. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/CSWGetRecords.js +34 -0
  435. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/Context.js +334 -0
  436. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/Filter/v1.js +426 -0
  437. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/Filter/v1_0_0.js +169 -0
  438. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/Filter/v1_1_0.js +182 -0
  439. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/Filter.js +115 -0
  440. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/GML/Base.js +578 -0
  441. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/GML/v2.js +193 -0
  442. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/GML/v3.js +462 -0
  443. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/GML.js +924 -0
  444. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/GPX.js +184 -0
  445. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/GeoJSON.js +716 -0
  446. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/GeoRSS.js +420 -0
  447. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/JSON.js +389 -0
  448. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/KML.js +1429 -0
  449. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/OSM.js +457 -0
  450. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/OWSCommon/v1.js +256 -0
  451. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/OWSCommon/v1_0_0.js +50 -0
  452. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/OWSCommon/v1_1_0.js +64 -0
  453. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/OWSContext/v0_3_1.js +589 -0
  454. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/OWSContext.js +81 -0
  455. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/SLD/v1.js +1100 -0
  456. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/SLD/v1_0_0.js +51 -0
  457. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/SLD.js +131 -0
  458. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/SOSCapabilities/v1_0_0.js +158 -0
  459. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/SOSCapabilities.js +83 -0
  460. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/SOSGetFeatureOfInterest.js +193 -0
  461. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/SOSGetObservation.js +262 -0
  462. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/Text.js +152 -0
  463. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WFS.js +220 -0
  464. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WFSCapabilities/v1.js +126 -0
  465. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WFSCapabilities/v1_0_0.js +157 -0
  466. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WFSCapabilities/v1_1_0.js +36 -0
  467. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WFSCapabilities.js +80 -0
  468. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WFSDescribeFeatureType.js +198 -0
  469. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WFST/v1.js +368 -0
  470. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WFST/v1_0_0.js +150 -0
  471. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WFST/v1_1_0.js +161 -0
  472. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WFST.js +34 -0
  473. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WKT.js +358 -0
  474. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMC/v1.js +835 -0
  475. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMC/v1_0_0.js +76 -0
  476. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMC/v1_1_0.js +127 -0
  477. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMC.js +152 -0
  478. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSCapabilities/v1.js +418 -0
  479. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSCapabilities/v1_1.js +118 -0
  480. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_0.js +62 -0
  481. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSCapabilities/v1_1_1.js +58 -0
  482. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSCapabilities/v1_3.js +128 -0
  483. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSCapabilities/v1_3_0.js +30 -0
  484. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSCapabilities.js +82 -0
  485. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSDescribeLayer/v1_1.js +100 -0
  486. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSDescribeLayer.js +91 -0
  487. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMSGetFeatureInfo.js +284 -0
  488. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMTSCapabilities/v1_0_0.js +221 -0
  489. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/WMTSCapabilities.js +162 -0
  490. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format/XML.js +881 -0
  491. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Format.js +123 -0
  492. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/Collection.js +546 -0
  493. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/Curve.js +93 -0
  494. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/LineString.js +552 -0
  495. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/LinearRing.js +417 -0
  496. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/MultiLineString.js +262 -0
  497. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/MultiPoint.js +70 -0
  498. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/MultiPolygon.js +46 -0
  499. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/Point.js +283 -0
  500. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/Polygon.js +259 -0
  501. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/Rectangle.js +99 -0
  502. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry/Surface.js +17 -0
  503. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Geometry.js +456 -0
  504. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/Box.js +221 -0
  505. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/Click.js +325 -0
  506. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/Drag.js +420 -0
  507. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/Feature.js +388 -0
  508. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/Hover.js +183 -0
  509. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/Keyboard.js +109 -0
  510. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/MouseWheel.js +283 -0
  511. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/Path.js +302 -0
  512. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/Point.js +373 -0
  513. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/Polygon.js +144 -0
  514. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler/RegularPolygon.js +421 -0
  515. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Handler.js +287 -0
  516. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Icon.js +227 -0
  517. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/ar.js +38 -0
  518. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/be-tarask.js +80 -0
  519. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/bg.js +29 -0
  520. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/br.js +79 -0
  521. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/ca.js +128 -0
  522. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/cs-CZ.js +69 -0
  523. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/da-DK.js +119 -0
  524. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/de.js +81 -0
  525. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/el.js +19 -0
  526. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/en-CA.js +21 -0
  527. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/en.js +128 -0
  528. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/es.js +129 -0
  529. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/fi.js +34 -0
  530. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/fr.js +80 -0
  531. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/fur.js +35 -0
  532. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/gl.js +79 -0
  533. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/gsw.js +79 -0
  534. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/hr.js +61 -0
  535. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/hsb.js +79 -0
  536. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/hu.js +80 -0
  537. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/ia.js +79 -0
  538. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/id.js +80 -0
  539. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/io.js +19 -0
  540. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/is.js +37 -0
  541. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/it.js +116 -0
  542. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/ja.js +80 -0
  543. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/km.js +25 -0
  544. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/ksh.js +79 -0
  545. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/nb.js +118 -0
  546. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/nds.js +61 -0
  547. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/nl.js +79 -0
  548. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/nn.js +27 -0
  549. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/oc.js +79 -0
  550. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/pt-BR.js +80 -0
  551. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/pt.js +81 -0
  552. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/ru.js +82 -0
  553. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/sk.js +71 -0
  554. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/sv-SE.js +71 -0
  555. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/te.js +27 -0
  556. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/vi.js +79 -0
  557. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/zh-CN.js +116 -0
  558. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang/zh-TW.js +117 -0
  559. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Lang.js +133 -0
  560. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/ArcGIS93Rest.js +253 -0
  561. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/ArcIMS.js +466 -0
  562. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Boxes.js +76 -0
  563. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/EventPane.js +418 -0
  564. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/FixedZoomLevels.js +315 -0
  565. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/GML.js +174 -0
  566. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/GeoRSS.js +266 -0
  567. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Google/v3.js +419 -0
  568. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Google.js +795 -0
  569. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Grid.js +755 -0
  570. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/HTTPRequest.js +230 -0
  571. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Image.js +254 -0
  572. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/KaMap.js +206 -0
  573. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/KaMapCache.js +148 -0
  574. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/MapGuide.js +489 -0
  575. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/MapServer/Untiled.js +72 -0
  576. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/MapServer.js +199 -0
  577. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Markers.js +187 -0
  578. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/MultiMap.js +284 -0
  579. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/PointTrack.js +103 -0
  580. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/SphericalMercator.js +196 -0
  581. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/TMS.js +167 -0
  582. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Text.js +264 -0
  583. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/TileCache.js +165 -0
  584. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Vector/RootContainer.js +157 -0
  585. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Vector.js +947 -0
  586. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/VirtualEarth.js +368 -0
  587. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/WFS.js +609 -0
  588. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/WMS/Post.js +99 -0
  589. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/WMS/Untiled.js +72 -0
  590. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/WMS.js +268 -0
  591. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/WMTS.js +476 -0
  592. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/WorldWind.js +120 -0
  593. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/XYZ.js +196 -0
  594. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Yahoo.js +430 -0
  595. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer/Zoomify.js +308 -0
  596. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Layer.js +1304 -0
  597. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Map.js +2417 -0
  598. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Marker/Box.js +120 -0
  599. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Marker.js +242 -0
  600. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Popup/Anchored.js +198 -0
  601. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Popup/AnchoredBubble.js +190 -0
  602. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Popup/Framed.js +343 -0
  603. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Popup/FramedCloud.js +231 -0
  604. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Popup.js +1052 -0
  605. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Projection.js +178 -0
  606. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Protocol/HTTP.js +655 -0
  607. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Protocol/SOS/v1_0_0.js +132 -0
  608. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Protocol/SOS.js +33 -0
  609. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Protocol/SQL/Gears.js +561 -0
  610. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Protocol/SQL.js +88 -0
  611. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Protocol/WFS/v1.js +342 -0
  612. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Protocol/WFS/v1_0_0.js +44 -0
  613. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Protocol/WFS/v1_1_0.js +48 -0
  614. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Protocol/WFS.js +71 -0
  615. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Protocol.js +272 -0
  616. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Renderer/Canvas.js +494 -0
  617. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Renderer/Elements.js +1010 -0
  618. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Renderer/SVG.js +995 -0
  619. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Renderer/VML.js +999 -0
  620. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Renderer.js +362 -0
  621. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Request/XMLHttpRequest.js +384 -0
  622. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Request.js +358 -0
  623. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Rule.js +240 -0
  624. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/SingleFile.js +10 -0
  625. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Strategy/BBOX.js +278 -0
  626. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Strategy/Cluster.js +280 -0
  627. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Strategy/Filter.js +164 -0
  628. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Strategy/Fixed.js +138 -0
  629. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Strategy/Paging.js +236 -0
  630. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Strategy/Refresh.js +140 -0
  631. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Strategy/Save.js +229 -0
  632. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Strategy.js +117 -0
  633. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Style.js +443 -0
  634. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Style2.js +111 -0
  635. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/StyleMap.js +160 -0
  636. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Symbolizer/Line.js +69 -0
  637. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Symbolizer/Point.js +141 -0
  638. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Symbolizer/Polygon.js +81 -0
  639. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Symbolizer/Raster.js +34 -0
  640. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Symbolizer/Text.js +65 -0
  641. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Symbolizer.js +51 -0
  642. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Tile/Image/IFrame.js +262 -0
  643. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Tile/Image.js +578 -0
  644. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Tile/WFS.js +192 -0
  645. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Tile.js +281 -0
  646. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Tween.js +318 -0
  647. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers/Util.js +1797 -0
  648. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/OpenLayers.js +348 -0
  649. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Rico/Color.js +244 -0
  650. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/src/openlayers/lib/Rico/Corner.js +330 -0
  651. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/framedCloud.css +0 -0
  652. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/google.css +10 -0
  653. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/ie6-style.css +7 -0
  654. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/add_point_off.png +0 -0
  655. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/add_point_on.png +0 -0
  656. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/blank.gif +0 -0
  657. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/close.gif +0 -0
  658. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/drag-rectangle-off.png +0 -0
  659. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/drag-rectangle-on.png +0 -0
  660. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/draw_line_off.png +0 -0
  661. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/draw_line_on.png +0 -0
  662. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/draw_point_off.png +0 -0
  663. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/draw_point_on.png +0 -0
  664. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/draw_polygon_off.png +0 -0
  665. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/draw_polygon_on.png +0 -0
  666. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/editing_tool_bar.png +0 -0
  667. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/move_feature_off.png +0 -0
  668. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/move_feature_on.png +0 -0
  669. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/navigation_history.png +0 -0
  670. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/overview_replacement.gif +0 -0
  671. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/pan-panel-NOALPHA.png +0 -0
  672. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/pan-panel.png +0 -0
  673. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/pan_off.png +0 -0
  674. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/pan_on.png +0 -0
  675. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/panning-hand-off.png +0 -0
  676. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/panning-hand-on.png +0 -0
  677. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/remove_point_off.png +0 -0
  678. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/remove_point_on.png +0 -0
  679. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/ruler.png +0 -0
  680. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/save_features_off.png +0 -0
  681. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/save_features_on.png +0 -0
  682. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/view_next_off.png +0 -0
  683. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/view_next_on.png +0 -0
  684. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/view_previous_off.png +0 -0
  685. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/view_previous_on.png +0 -0
  686. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/zoom-panel-NOALPHA.png +0 -0
  687. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/img/zoom-panel.png +0 -0
  688. data/lib/support/phpmyadmin/phpmyadmin/js/openlayers/theme/default/style.css +397 -0
  689. data/lib/support/phpmyadmin/phpmyadmin/js/pmd/designer_db.js +136 -0
  690. data/lib/support/phpmyadmin/phpmyadmin/js/pmd/designer_objects.js +17 -0
  691. data/lib/support/phpmyadmin/phpmyadmin/js/pmd/designer_page.js +164 -0
  692. data/lib/support/phpmyadmin/phpmyadmin/js/pmd/history.js +812 -0
  693. data/lib/support/phpmyadmin/phpmyadmin/js/pmd/iecanvas.js +147 -0
  694. data/lib/support/phpmyadmin/phpmyadmin/js/pmd/init.js +40 -0
  695. data/lib/support/phpmyadmin/phpmyadmin/js/pmd/move.js +1993 -0
  696. data/lib/support/phpmyadmin/phpmyadmin/js/replication.js +72 -0
  697. data/lib/support/phpmyadmin/phpmyadmin/js/rte.js +944 -0
  698. data/lib/support/phpmyadmin/phpmyadmin/js/server_databases.js +137 -0
  699. data/lib/support/phpmyadmin/phpmyadmin/js/server_plugins.js +30 -0
  700. data/lib/support/phpmyadmin/phpmyadmin/js/server_privileges.js +451 -0
  701. data/lib/support/phpmyadmin/phpmyadmin/js/server_status_advisor.js +93 -0
  702. data/lib/support/phpmyadmin/phpmyadmin/js/server_status_monitor.js +2172 -0
  703. data/lib/support/phpmyadmin/phpmyadmin/js/server_status_processes.js +189 -0
  704. data/lib/support/phpmyadmin/phpmyadmin/js/server_status_queries.js +34 -0
  705. data/lib/support/phpmyadmin/phpmyadmin/js/server_status_sorter.js +89 -0
  706. data/lib/support/phpmyadmin/phpmyadmin/js/server_status_variables.js +103 -0
  707. data/lib/support/phpmyadmin/phpmyadmin/js/server_user_groups.js +42 -0
  708. data/lib/support/phpmyadmin/phpmyadmin/js/server_variables.js +147 -0
  709. data/lib/support/phpmyadmin/phpmyadmin/js/sprintf.js +211 -0
  710. data/lib/support/phpmyadmin/phpmyadmin/js/sql.js +842 -0
  711. data/lib/support/phpmyadmin/phpmyadmin/js/tbl_change.js +754 -0
  712. data/lib/support/phpmyadmin/phpmyadmin/js/tbl_chart.js +437 -0
  713. data/lib/support/phpmyadmin/phpmyadmin/js/tbl_find_replace.js +47 -0
  714. data/lib/support/phpmyadmin/phpmyadmin/js/tbl_gis_visualization.js +353 -0
  715. data/lib/support/phpmyadmin/phpmyadmin/js/tbl_operations.js +240 -0
  716. data/lib/support/phpmyadmin/phpmyadmin/js/tbl_relation.js +233 -0
  717. data/lib/support/phpmyadmin/phpmyadmin/js/tbl_select.js +395 -0
  718. data/lib/support/phpmyadmin/phpmyadmin/js/tbl_structure.js +397 -0
  719. data/lib/support/phpmyadmin/phpmyadmin/js/tbl_tracking.js +96 -0
  720. data/lib/support/phpmyadmin/phpmyadmin/js/tbl_zoom_plot_jqplot.js +638 -0
  721. data/lib/support/phpmyadmin/phpmyadmin/js/tracekit/tracekit.js +1114 -0
  722. data/lib/support/phpmyadmin/phpmyadmin/js/transformations/image_upload.js +28 -0
  723. data/lib/support/phpmyadmin/phpmyadmin/js/transformations/json.js +18 -0
  724. data/lib/support/phpmyadmin/phpmyadmin/js/transformations/json_editor.js +17 -0
  725. data/lib/support/phpmyadmin/phpmyadmin/js/transformations/sql_editor.js +30 -0
  726. data/lib/support/phpmyadmin/phpmyadmin/js/transformations/xml.js +18 -0
  727. data/lib/support/phpmyadmin/phpmyadmin/js/transformations/xml_editor.js +16 -0
  728. data/lib/support/phpmyadmin/phpmyadmin/js/whitelist.php +38 -0
  729. data/lib/support/phpmyadmin/phpmyadmin/libraries/Advisor.class.php +526 -0
  730. data/lib/support/phpmyadmin/phpmyadmin/libraries/Config.class.php +1926 -0
  731. data/lib/support/phpmyadmin/phpmyadmin/libraries/Console.class.php +320 -0
  732. data/lib/support/phpmyadmin/phpmyadmin/libraries/DBQbe.class.php +1593 -0
  733. data/lib/support/phpmyadmin/phpmyadmin/libraries/DatabaseInterface.class.php +2864 -0
  734. data/lib/support/phpmyadmin/phpmyadmin/libraries/DbSearch.class.php +502 -0
  735. data/lib/support/phpmyadmin/phpmyadmin/libraries/DisplayResults.class.php +5685 -0
  736. data/lib/support/phpmyadmin/phpmyadmin/libraries/Error.class.php +470 -0
  737. data/lib/support/phpmyadmin/phpmyadmin/libraries/Error_Handler.class.php +561 -0
  738. data/lib/support/phpmyadmin/phpmyadmin/libraries/File.class.php +732 -0
  739. data/lib/support/phpmyadmin/phpmyadmin/libraries/Font.class.php +145 -0
  740. data/lib/support/phpmyadmin/phpmyadmin/libraries/Footer.class.php +351 -0
  741. data/lib/support/phpmyadmin/phpmyadmin/libraries/Header.class.php +752 -0
  742. data/lib/support/phpmyadmin/phpmyadmin/libraries/Index.class.php +1011 -0
  743. data/lib/support/phpmyadmin/phpmyadmin/libraries/List.class.php +122 -0
  744. data/lib/support/phpmyadmin/phpmyadmin/libraries/List_Database.class.php +193 -0
  745. data/lib/support/phpmyadmin/phpmyadmin/libraries/Menu.class.php +631 -0
  746. data/lib/support/phpmyadmin/phpmyadmin/libraries/Message.class.php +759 -0
  747. data/lib/support/phpmyadmin/phpmyadmin/libraries/OutputBuffering.class.php +139 -0
  748. data/lib/support/phpmyadmin/phpmyadmin/libraries/PDF.class.php +149 -0
  749. data/lib/support/phpmyadmin/phpmyadmin/libraries/PMA.php +109 -0
  750. data/lib/support/phpmyadmin/phpmyadmin/libraries/Partition.class.php +77 -0
  751. data/lib/support/phpmyadmin/phpmyadmin/libraries/RecentFavoriteTable.class.php +393 -0
  752. data/lib/support/phpmyadmin/phpmyadmin/libraries/Response.class.php +397 -0
  753. data/lib/support/phpmyadmin/phpmyadmin/libraries/SavedSearches.class.php +447 -0
  754. data/lib/support/phpmyadmin/phpmyadmin/libraries/Scripts.class.php +284 -0
  755. data/lib/support/phpmyadmin/phpmyadmin/libraries/ServerStatusData.class.php +448 -0
  756. data/lib/support/phpmyadmin/phpmyadmin/libraries/StorageEngine.class.php +451 -0
  757. data/lib/support/phpmyadmin/phpmyadmin/libraries/String.class.php +188 -0
  758. data/lib/support/phpmyadmin/phpmyadmin/libraries/StringAbstractType.class.php +35 -0
  759. data/lib/support/phpmyadmin/phpmyadmin/libraries/StringByte.int.php +173 -0
  760. data/lib/support/phpmyadmin/phpmyadmin/libraries/StringCType.class.php +110 -0
  761. data/lib/support/phpmyadmin/phpmyadmin/libraries/StringNativeType.class.php +138 -0
  762. data/lib/support/phpmyadmin/phpmyadmin/libraries/StringType.int.php +84 -0
  763. data/lib/support/phpmyadmin/phpmyadmin/libraries/Table.class.php +1806 -0
  764. data/lib/support/phpmyadmin/phpmyadmin/libraries/TableSearch.class.php +1587 -0
  765. data/lib/support/phpmyadmin/phpmyadmin/libraries/Theme.class.php +485 -0
  766. data/lib/support/phpmyadmin/phpmyadmin/libraries/Theme_Manager.class.php +460 -0
  767. data/lib/support/phpmyadmin/phpmyadmin/libraries/Tracker.class.php +1030 -0
  768. data/lib/support/phpmyadmin/phpmyadmin/libraries/Types.class.php +1071 -0
  769. data/lib/support/phpmyadmin/phpmyadmin/libraries/Util.class.php +4602 -0
  770. data/lib/support/phpmyadmin/phpmyadmin/libraries/advisory_rules.txt +470 -0
  771. data/lib/support/phpmyadmin/phpmyadmin/libraries/bfShapeFiles/ShapeFile.lib.php +682 -0
  772. data/lib/support/phpmyadmin/phpmyadmin/libraries/bookmark.lib.php +273 -0
  773. data/lib/support/phpmyadmin/phpmyadmin/libraries/browse_foreigners.lib.php +316 -0
  774. data/lib/support/phpmyadmin/phpmyadmin/libraries/build_html_for_db.lib.php +184 -0
  775. data/lib/support/phpmyadmin/phpmyadmin/libraries/central_columns.lib.php +1003 -0
  776. data/lib/support/phpmyadmin/phpmyadmin/libraries/charset_conversion.lib.php +120 -0
  777. data/lib/support/phpmyadmin/phpmyadmin/libraries/check_user_privileges.lib.php +195 -0
  778. data/lib/support/phpmyadmin/phpmyadmin/libraries/cleanup.lib.php +50 -0
  779. data/lib/support/phpmyadmin/phpmyadmin/libraries/common.inc.php +1203 -0
  780. data/lib/support/phpmyadmin/phpmyadmin/libraries/config/ConfigFile.class.php +543 -0
  781. data/lib/support/phpmyadmin/phpmyadmin/libraries/config/Form.class.php +231 -0
  782. data/lib/support/phpmyadmin/phpmyadmin/libraries/config/FormDisplay.class.php +837 -0
  783. data/lib/support/phpmyadmin/phpmyadmin/libraries/config/FormDisplay.tpl.php +491 -0
  784. data/lib/support/phpmyadmin/phpmyadmin/libraries/config/ServerConfigChecks.class.php +577 -0
  785. data/lib/support/phpmyadmin/phpmyadmin/libraries/config/Validator.class.php +624 -0
  786. data/lib/support/phpmyadmin/phpmyadmin/libraries/config/config_functions.lib.php +54 -0
  787. data/lib/support/phpmyadmin/phpmyadmin/libraries/config/messages.inc.php +818 -0
  788. data/lib/support/phpmyadmin/phpmyadmin/libraries/config/setup.forms.php +384 -0
  789. data/lib/support/phpmyadmin/phpmyadmin/libraries/config/user_preferences.forms.php +281 -0
  790. data/lib/support/phpmyadmin/phpmyadmin/libraries/config.default.php +3011 -0
  791. data/lib/support/phpmyadmin/phpmyadmin/libraries/config.values.php +270 -0
  792. data/lib/support/phpmyadmin/phpmyadmin/libraries/core.lib.php +1013 -0
  793. data/lib/support/phpmyadmin/phpmyadmin/libraries/create_addfield.lib.php +376 -0
  794. data/lib/support/phpmyadmin/phpmyadmin/libraries/data_dictionary_relations.lib.php +167 -0
  795. data/lib/support/phpmyadmin/phpmyadmin/libraries/database_interface.inc.php +74 -0
  796. data/lib/support/phpmyadmin/phpmyadmin/libraries/db_common.inc.php +105 -0
  797. data/lib/support/phpmyadmin/phpmyadmin/libraries/db_designer.lib.php +1397 -0
  798. data/lib/support/phpmyadmin/phpmyadmin/libraries/db_info.inc.php +248 -0
  799. data/lib/support/phpmyadmin/phpmyadmin/libraries/db_printview.lib.php +30 -0
  800. data/lib/support/phpmyadmin/phpmyadmin/libraries/db_table_exists.lib.php +106 -0
  801. data/lib/support/phpmyadmin/phpmyadmin/libraries/dbi/DBIDrizzle.class.php +583 -0
  802. data/lib/support/phpmyadmin/phpmyadmin/libraries/dbi/DBIDummy.class.php +906 -0
  803. data/lib/support/phpmyadmin/phpmyadmin/libraries/dbi/DBIExtension.int.php +262 -0
  804. data/lib/support/phpmyadmin/phpmyadmin/libraries/dbi/DBIMysql.class.php +469 -0
  805. data/lib/support/phpmyadmin/phpmyadmin/libraries/dbi/DBIMysqli.class.php +620 -0
  806. data/lib/support/phpmyadmin/phpmyadmin/libraries/dbi/drizzle-wrappers.lib.php +427 -0
  807. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_change_password.lib.php +113 -0
  808. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_create_database.lib.php +62 -0
  809. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_create_table.lib.php +82 -0
  810. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_export.inc.php +72 -0
  811. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_export.lib.php +872 -0
  812. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_git_revision.lib.php +83 -0
  813. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_import.inc.php +64 -0
  814. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_import.lib.php +602 -0
  815. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_import_ajax.lib.php +129 -0
  816. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_select_lang.lib.php +98 -0
  817. data/lib/support/phpmyadmin/phpmyadmin/libraries/display_structure.inc.php +272 -0
  818. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/bdb.lib.php +87 -0
  819. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/berkeleydb.lib.php +26 -0
  820. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/binlog.lib.php +31 -0
  821. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/innobase.lib.php +25 -0
  822. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/innodb.lib.php +392 -0
  823. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/memory.lib.php +34 -0
  824. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/merge.lib.php +21 -0
  825. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/mrg_myisam.lib.php +36 -0
  826. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/myisam.lib.php +69 -0
  827. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/ndbcluster.lib.php +55 -0
  828. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/pbxt.lib.php +149 -0
  829. data/lib/support/phpmyadmin/phpmyadmin/libraries/engines/performance_schema.lib.php +31 -0
  830. data/lib/support/phpmyadmin/phpmyadmin/libraries/error.inc.php +58 -0
  831. data/lib/support/phpmyadmin/phpmyadmin/libraries/error_report.lib.php +432 -0
  832. data/lib/support/phpmyadmin/phpmyadmin/libraries/export.lib.php +858 -0
  833. data/lib/support/phpmyadmin/phpmyadmin/libraries/file_listing.lib.php +99 -0
  834. data/lib/support/phpmyadmin/phpmyadmin/libraries/gis/GIS_Factory.class.php +66 -0
  835. data/lib/support/phpmyadmin/phpmyadmin/libraries/gis/GIS_Geometry.class.php +376 -0
  836. data/lib/support/phpmyadmin/phpmyadmin/libraries/gis/GIS_Geometrycollection.class.php +364 -0
  837. data/lib/support/phpmyadmin/phpmyadmin/libraries/gis/GIS_Linestring.class.php +323 -0
  838. data/lib/support/phpmyadmin/phpmyadmin/libraries/gis/GIS_Multilinestring.class.php +394 -0
  839. data/lib/support/phpmyadmin/phpmyadmin/libraries/gis/GIS_Multipoint.class.php +367 -0
  840. data/lib/support/phpmyadmin/phpmyadmin/libraries/gis/GIS_Multipolygon.class.php +564 -0
  841. data/lib/support/phpmyadmin/phpmyadmin/libraries/gis/GIS_Point.class.php +314 -0
  842. data/lib/support/phpmyadmin/phpmyadmin/libraries/gis/GIS_Polygon.class.php +581 -0
  843. data/lib/support/phpmyadmin/phpmyadmin/libraries/gis/GIS_Visualization.class.php +504 -0
  844. data/lib/support/phpmyadmin/phpmyadmin/libraries/iconv_wrapper.lib.php +128 -0
  845. data/lib/support/phpmyadmin/phpmyadmin/libraries/import.lib.php +1954 -0
  846. data/lib/support/phpmyadmin/phpmyadmin/libraries/index.lib.php +48 -0
  847. data/lib/support/phpmyadmin/phpmyadmin/libraries/information_schema_relations.lib.php +327 -0
  848. data/lib/support/phpmyadmin/phpmyadmin/libraries/insert_edit.lib.php +2931 -0
  849. data/lib/support/phpmyadmin/phpmyadmin/libraries/ip_allow_deny.lib.php +341 -0
  850. data/lib/support/phpmyadmin/phpmyadmin/libraries/js_escape.lib.php +135 -0
  851. data/lib/support/phpmyadmin/phpmyadmin/libraries/kanji-encoding.lib.php +168 -0
  852. data/lib/support/phpmyadmin/phpmyadmin/libraries/language_stats.inc.php +87 -0
  853. data/lib/support/phpmyadmin/phpmyadmin/libraries/logging.lib.php +30 -0
  854. data/lib/support/phpmyadmin/phpmyadmin/libraries/mime.lib.php +34 -0
  855. data/lib/support/phpmyadmin/phpmyadmin/libraries/mult_submits.inc.php +307 -0
  856. data/lib/support/phpmyadmin/phpmyadmin/libraries/mult_submits.lib.php +647 -0
  857. data/lib/support/phpmyadmin/phpmyadmin/libraries/mysql_charsets.inc.php +129 -0
  858. data/lib/support/phpmyadmin/phpmyadmin/libraries/mysql_charsets.lib.php +379 -0
  859. data/lib/support/phpmyadmin/phpmyadmin/libraries/mysql_relations.lib.php +169 -0
  860. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Navigation.class.php +228 -0
  861. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/NavigationHeader.class.php +223 -0
  862. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/NavigationTree.class.php +1452 -0
  863. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/NodeFactory.class.php +97 -0
  864. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node.class.php +813 -0
  865. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Column.class.php +47 -0
  866. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Column_Container.class.php +57 -0
  867. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Database.class.php +663 -0
  868. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_DatabaseChild.class.php +52 -0
  869. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Database_Container.class.php +51 -0
  870. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Event.class.php +57 -0
  871. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Event_Container.class.php +54 -0
  872. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Function.class.php +57 -0
  873. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Function_Container.class.php +53 -0
  874. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Index.class.php +45 -0
  875. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Index_Container.class.php +57 -0
  876. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Procedure.class.php +57 -0
  877. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Procedure_Container.class.php +55 -0
  878. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Table.class.php +294 -0
  879. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Table_Container.class.php +60 -0
  880. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Trigger.class.php +45 -0
  881. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_Trigger_Container.class.php +57 -0
  882. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_View.class.php +57 -0
  883. data/lib/support/phpmyadmin/phpmyadmin/libraries/navigation/Nodes/Node_View_Container.class.php +60 -0
  884. data/lib/support/phpmyadmin/phpmyadmin/libraries/normalization.lib.php +945 -0
  885. data/lib/support/phpmyadmin/phpmyadmin/libraries/opendocument.lib.php +171 -0
  886. data/lib/support/phpmyadmin/phpmyadmin/libraries/operations.lib.php +1649 -0
  887. data/lib/support/phpmyadmin/phpmyadmin/libraries/parse_analyze.inc.php +144 -0
  888. data/lib/support/phpmyadmin/phpmyadmin/libraries/php-gettext/gettext.inc +536 -0
  889. data/lib/support/phpmyadmin/phpmyadmin/libraries/php-gettext/gettext.php +432 -0
  890. data/lib/support/phpmyadmin/phpmyadmin/libraries/php-gettext/streams.php +167 -0
  891. data/lib/support/phpmyadmin/phpmyadmin/libraries/phpseclib/Crypt/AES.php +184 -0
  892. data/lib/support/phpmyadmin/phpmyadmin/libraries/phpseclib/Crypt/Base.php +1984 -0
  893. data/lib/support/phpmyadmin/phpmyadmin/libraries/phpseclib/Crypt/Random.php +251 -0
  894. data/lib/support/phpmyadmin/phpmyadmin/libraries/phpseclib/Crypt/Rijndael.php +1370 -0
  895. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugin_interface.lib.php +557 -0
  896. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/AuthenticationPlugin.class.php +100 -0
  897. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/ExportPlugin.class.php +326 -0
  898. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/IOTransformationsPlugin.class.php +91 -0
  899. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/ImportPlugin.class.php +77 -0
  900. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/SchemaPlugin.class.php +76 -0
  901. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/TransformationsInterface.int.php +49 -0
  902. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/TransformationsPlugin.class.php +69 -0
  903. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/UploadInterface.int.php +36 -0
  904. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/auth/AuthenticationConfig.class.php +183 -0
  905. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/auth/AuthenticationCookie.class.php +871 -0
  906. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/auth/AuthenticationHttp.class.php +289 -0
  907. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/auth/AuthenticationSignon.class.php +267 -0
  908. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/auth/recaptcha/LICENSE +29 -0
  909. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/auth/recaptcha/recaptchalib.php +140 -0
  910. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/auth/swekey/authentication.inc.php +176 -0
  911. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/auth/swekey/musbe-ca.crt +25 -0
  912. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/auth/swekey/swekey.auth.lib.php +318 -0
  913. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/auth/swekey/swekey.php +536 -0
  914. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportCodegen.class.php +434 -0
  915. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportCsv.class.php +323 -0
  916. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportExcel.class.php +92 -0
  917. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportHtmlword.class.php +644 -0
  918. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportJson.class.php +215 -0
  919. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportLatex.class.php +656 -0
  920. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportMediawiki.class.php +379 -0
  921. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportOds.class.php +334 -0
  922. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportOdt.class.php +765 -0
  923. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportPdf.class.php +276 -0
  924. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportPhparray.class.php +233 -0
  925. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportSql.class.php +2601 -0
  926. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportTexytext.class.php +575 -0
  927. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportXml.class.php +584 -0
  928. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/ExportYaml.class.php +212 -0
  929. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/PMA_ExportPdf.class.php +434 -0
  930. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/README +267 -0
  931. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/export/TableProperty.class.php +286 -0
  932. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/AbstractImportCsv.class.php +90 -0
  933. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/ImportCsv.class.php +687 -0
  934. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/ImportLdi.class.php +161 -0
  935. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/ImportMediawiki.class.php +598 -0
  936. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/ImportOds.class.php +414 -0
  937. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/ImportShp.class.php +327 -0
  938. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/ImportSql.class.php +620 -0
  939. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/ImportXml.class.php +366 -0
  940. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/README +159 -0
  941. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/ShapeFile.class.php +102 -0
  942. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/ShapeRecord.class.php +161 -0
  943. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/upload/UploadApc.class.php +84 -0
  944. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/upload/UploadNoplugin.class.php +64 -0
  945. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/upload/UploadProgress.class.php +94 -0
  946. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/import/upload/UploadSession.class.php +96 -0
  947. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/Export_Relation_Schema.class.php +299 -0
  948. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/RelationStats.class.php +108 -0
  949. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/SchemaDia.class.php +117 -0
  950. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/SchemaEps.class.php +102 -0
  951. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/SchemaPdf.class.php +132 -0
  952. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/SchemaSvg.class.php +90 -0
  953. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/TableStats.class.php +179 -0
  954. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/dia/Dia_Relation_Schema.class.php +378 -0
  955. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/dia/RelationStatsDia.class.php +216 -0
  956. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/dia/TableStatsDia.class.php +227 -0
  957. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/eps/Eps_Relation_Schema.class.php +508 -0
  958. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/eps/RelationStatsEps.class.php +135 -0
  959. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/eps/TableStatsEps.class.php +157 -0
  960. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/pdf/Pdf_Relation_Schema.class.php +1070 -0
  961. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/pdf/RelationStatsPdf.class.php +135 -0
  962. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/pdf/TableStatsPdf.class.php +222 -0
  963. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/svg/RelationStatsSvg.class.php +119 -0
  964. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/svg/Svg_Relation_Schema.class.php +501 -0
  965. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/schema/svg/TableStatsSvg.class.php +180 -0
  966. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/README +4 -0
  967. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/TEMPLATE +46 -0
  968. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/TEMPLATE_ABSTRACT +73 -0
  969. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/Text_Plain_Link.class.php +44 -0
  970. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/Text_Plain_Longtoipv4.class.php +44 -0
  971. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/Text_Plain_Preappend.class.php +45 -0
  972. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/Text_Plain_Substring.class.php +44 -0
  973. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/Bool2TextTransformationsPlugin.class.php +69 -0
  974. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/CodeMirrorEditorTransformationPlugin.class.php +64 -0
  975. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/DateFormatTransformationsPlugin.class.php +164 -0
  976. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/DownloadTransformationsPlugin.class.php +95 -0
  977. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/ExternalTransformationsPlugin.class.php +155 -0
  978. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/FormattedTransformationsPlugin.class.php +65 -0
  979. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/HexTransformationsPlugin.class.php +72 -0
  980. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/ImageLinkTransformationsPlugin.class.php +74 -0
  981. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/ImageUploadTransformationsPlugin.class.php +110 -0
  982. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/InlineTransformationsPlugin.class.php +86 -0
  983. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/LongToIPv4TransformationsPlugin.class.php +68 -0
  984. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/PreApPendTransformationsPlugin.class.php +71 -0
  985. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/RegexValidationTransformationsPlugin.class.php +74 -0
  986. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/SQLTransformationsPlugin.class.php +67 -0
  987. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/SubstringTransformationsPlugin.class.php +92 -0
  988. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/TextFileUploadTransformationsPlugin.class.php +93 -0
  989. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/TextImageLinkTransformationsPlugin.class.php +81 -0
  990. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/abstract/TextLinkTransformationsPlugin.class.php +82 -0
  991. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/generator_main_class.sh +16 -0
  992. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/generator_plugin.sh +64 -0
  993. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/input/Image_JPEG_Upload.class.php +46 -0
  994. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/input/Text_Plain_Fileupload.class.php +45 -0
  995. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/input/Text_Plain_JsonEditor.class.php +86 -0
  996. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/input/Text_Plain_Regexvalidation.class.php +46 -0
  997. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/input/Text_Plain_SqlEditor.class.php +86 -0
  998. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/input/Text_Plain_XmlEditor.class.php +86 -0
  999. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Application_Octetstream_Download.class.php +44 -0
  1000. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Application_Octetstream_Hex.class.php +45 -0
  1001. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Image_JPEG_Inline.class.php +45 -0
  1002. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Image_JPEG_Link.class.php +45 -0
  1003. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Image_PNG_Inline.class.php +45 -0
  1004. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Text_Octetstream_Sql.class.php +45 -0
  1005. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Text_Plain_Bool2text.class.php +47 -0
  1006. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Text_Plain_Dateformat.class.php +45 -0
  1007. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Text_Plain_External.class.php +45 -0
  1008. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Text_Plain_Formatted.class.php +45 -0
  1009. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Text_Plain_Imagelink.class.php +45 -0
  1010. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Text_Plain_Json.class.php +96 -0
  1011. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Text_Plain_Sql.class.php +57 -0
  1012. data/lib/support/phpmyadmin/phpmyadmin/libraries/plugins/transformations/output/Text_Plain_Xml.class.php +96 -0
  1013. data/lib/support/phpmyadmin/phpmyadmin/libraries/pmd_common.php +657 -0
  1014. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/PropertyItem.class.php +49 -0
  1015. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/OptionsPropertyGroup.class.php +99 -0
  1016. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/OptionsPropertyItem.class.php +127 -0
  1017. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/OptionsPropertyOneItem.class.php +172 -0
  1018. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/groups/OptionsPropertyMainGroup.class.php +35 -0
  1019. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/groups/OptionsPropertyRootGroup.class.php +35 -0
  1020. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/groups/OptionsPropertySubgroup.class.php +68 -0
  1021. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/items/BoolPropertyItem.class.php +35 -0
  1022. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/items/DocPropertyItem.class.php +35 -0
  1023. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/items/HiddenPropertyItem.class.php +35 -0
  1024. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/items/MessageOnlyPropertyItem.class.php +35 -0
  1025. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/items/NumberPropertyItem.class.php +35 -0
  1026. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/items/RadioPropertyItem.class.php +35 -0
  1027. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/items/SelectPropertyItem.class.php +35 -0
  1028. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/options/items/TextPropertyItem.class.php +35 -0
  1029. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/plugins/ExportPluginProperties.class.php +68 -0
  1030. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/plugins/ImportPluginProperties.class.php +34 -0
  1031. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/plugins/PluginPropertyItem.class.php +183 -0
  1032. data/lib/support/phpmyadmin/phpmyadmin/libraries/properties/plugins/SchemaPluginProperties.class.php +47 -0
  1033. data/lib/support/phpmyadmin/phpmyadmin/libraries/relation.lib.php +2024 -0
  1034. data/lib/support/phpmyadmin/phpmyadmin/libraries/relation_cleanup.lib.php +216 -0
  1035. data/lib/support/phpmyadmin/phpmyadmin/libraries/replication.inc.php +321 -0
  1036. data/lib/support/phpmyadmin/phpmyadmin/libraries/replication_gui.lib.php +1088 -0
  1037. data/lib/support/phpmyadmin/phpmyadmin/libraries/rte/rte_events.lib.php +618 -0
  1038. data/lib/support/phpmyadmin/phpmyadmin/libraries/rte/rte_export.lib.php +121 -0
  1039. data/lib/support/phpmyadmin/phpmyadmin/libraries/rte/rte_footer.lib.php +130 -0
  1040. data/lib/support/phpmyadmin/phpmyadmin/libraries/rte/rte_general.lib.php +88 -0
  1041. data/lib/support/phpmyadmin/phpmyadmin/libraries/rte/rte_list.lib.php +387 -0
  1042. data/lib/support/phpmyadmin/phpmyadmin/libraries/rte/rte_main.inc.php +94 -0
  1043. data/lib/support/phpmyadmin/phpmyadmin/libraries/rte/rte_routines.lib.php +1733 -0
  1044. data/lib/support/phpmyadmin/phpmyadmin/libraries/rte/rte_triggers.lib.php +463 -0
  1045. data/lib/support/phpmyadmin/phpmyadmin/libraries/rte/rte_words.lib.php +75 -0
  1046. data/lib/support/phpmyadmin/phpmyadmin/libraries/sanitizing.lib.php +191 -0
  1047. data/lib/support/phpmyadmin/phpmyadmin/libraries/select_lang.lib.php +621 -0
  1048. data/lib/support/phpmyadmin/phpmyadmin/libraries/select_server.lib.php +111 -0
  1049. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_bin_log.lib.php +244 -0
  1050. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_collations.lib.php +100 -0
  1051. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_common.inc.php +53 -0
  1052. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_common.lib.php +67 -0
  1053. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_databases.lib.php +498 -0
  1054. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_engines.lib.php +145 -0
  1055. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_plugins.lib.php +207 -0
  1056. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_privileges.lib.php +4692 -0
  1057. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_status.lib.php +317 -0
  1058. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_status_advisor.lib.php +68 -0
  1059. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_status_monitor.lib.php +825 -0
  1060. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_status_processes.lib.php +320 -0
  1061. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_status_queries.lib.php +154 -0
  1062. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_status_variables.lib.php +765 -0
  1063. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_user_groups.lib.php +360 -0
  1064. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_users.lib.php +58 -0
  1065. data/lib/support/phpmyadmin/phpmyadmin/libraries/server_variables.lib.php +1683 -0
  1066. data/lib/support/phpmyadmin/phpmyadmin/libraries/session.inc.php +130 -0
  1067. data/lib/support/phpmyadmin/phpmyadmin/libraries/special_schema_links.lib.php +461 -0
  1068. data/lib/support/phpmyadmin/phpmyadmin/libraries/sql-formatter/LICENSE.txt +21 -0
  1069. data/lib/support/phpmyadmin/phpmyadmin/libraries/sql-formatter/README.md +185 -0
  1070. data/lib/support/phpmyadmin/phpmyadmin/libraries/sql-formatter/lib/SqlFormatter.php +1085 -0
  1071. data/lib/support/phpmyadmin/phpmyadmin/libraries/sql.lib.php +2293 -0
  1072. data/lib/support/phpmyadmin/phpmyadmin/libraries/sql_query_form.lib.php +477 -0
  1073. data/lib/support/phpmyadmin/phpmyadmin/libraries/sqlparser.data.php +999 -0
  1074. data/lib/support/phpmyadmin/phpmyadmin/libraries/sqlparser.lib.php +2997 -0
  1075. data/lib/support/phpmyadmin/phpmyadmin/libraries/string.lib.php +33 -0
  1076. data/lib/support/phpmyadmin/phpmyadmin/libraries/stringMb.lib.php +78 -0
  1077. data/lib/support/phpmyadmin/phpmyadmin/libraries/stringNative.lib.php +245 -0
  1078. data/lib/support/phpmyadmin/phpmyadmin/libraries/structure.lib.php +3294 -0
  1079. data/lib/support/phpmyadmin/phpmyadmin/libraries/sysinfo.lib.php +369 -0
  1080. data/lib/support/phpmyadmin/phpmyadmin/libraries/tbl_chart.lib.php +383 -0
  1081. data/lib/support/phpmyadmin/phpmyadmin/libraries/tbl_columns_definition_form.inc.php +195 -0
  1082. data/lib/support/phpmyadmin/phpmyadmin/libraries/tbl_columns_definition_form.lib.php +1458 -0
  1083. data/lib/support/phpmyadmin/phpmyadmin/libraries/tbl_common.inc.php +48 -0
  1084. data/lib/support/phpmyadmin/phpmyadmin/libraries/tbl_gis_visualization.lib.php +281 -0
  1085. data/lib/support/phpmyadmin/phpmyadmin/libraries/tbl_indexes.lib.php +480 -0
  1086. data/lib/support/phpmyadmin/phpmyadmin/libraries/tbl_info.inc.php +108 -0
  1087. data/lib/support/phpmyadmin/phpmyadmin/libraries/tbl_printview.lib.php +602 -0
  1088. data/lib/support/phpmyadmin/phpmyadmin/libraries/tbl_relation.lib.php +1222 -0
  1089. data/lib/support/phpmyadmin/phpmyadmin/libraries/tbl_views.lib.php +161 -0
  1090. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/LICENSE.TXT +858 -0
  1091. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/README.TXT +115 -0
  1092. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/config/tcpdf_config.php +227 -0
  1093. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/fonts/dejavu-fonts-ttf-2.34/LICENSE +99 -0
  1094. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/fonts/dejavusans.ctg.z +0 -0
  1095. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/fonts/dejavusans.php +16 -0
  1096. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/fonts/dejavusans.z +0 -0
  1097. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/fonts/dejavusansb.ctg.z +0 -0
  1098. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/fonts/dejavusansb.php +16 -0
  1099. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/fonts/dejavusansb.z +0 -0
  1100. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/fonts/helvetica.php +13 -0
  1101. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/include/sRGB.icc +0 -0
  1102. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/include/tcpdf_colors.php +462 -0
  1103. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/include/tcpdf_font_data.php +18447 -0
  1104. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/include/tcpdf_fonts.php +2591 -0
  1105. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/include/tcpdf_images.php +355 -0
  1106. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/include/tcpdf_static.php +2528 -0
  1107. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/tcpdf.php +24478 -0
  1108. data/lib/support/phpmyadmin/phpmyadmin/libraries/tcpdf/tcpdf_autoconfig.php +241 -0
  1109. data/lib/support/phpmyadmin/phpmyadmin/libraries/tracking.lib.php +1439 -0
  1110. data/lib/support/phpmyadmin/phpmyadmin/libraries/transformations.lib.php +461 -0
  1111. data/lib/support/phpmyadmin/phpmyadmin/libraries/url_generating.lib.php +256 -0
  1112. data/lib/support/phpmyadmin/phpmyadmin/libraries/user_preferences.inc.php +71 -0
  1113. data/lib/support/phpmyadmin/phpmyadmin/libraries/user_preferences.lib.php +301 -0
  1114. data/lib/support/phpmyadmin/phpmyadmin/libraries/vendor_config.php +93 -0
  1115. data/lib/support/phpmyadmin/phpmyadmin/libraries/zip.lib.php +211 -0
  1116. data/lib/support/phpmyadmin/phpmyadmin/libraries/zip_extension.lib.php +195 -0
  1117. data/lib/support/phpmyadmin/phpmyadmin/license.php +31 -0
  1118. data/lib/support/phpmyadmin/phpmyadmin/locale/az/LC_MESSAGES/phpmyadmin.mo +0 -0
  1119. data/lib/support/phpmyadmin/phpmyadmin/locale/bg/LC_MESSAGES/phpmyadmin.mo +0 -0
  1120. data/lib/support/phpmyadmin/phpmyadmin/locale/bn/LC_MESSAGES/phpmyadmin.mo +0 -0
  1121. data/lib/support/phpmyadmin/phpmyadmin/locale/ca/LC_MESSAGES/phpmyadmin.mo +0 -0
  1122. data/lib/support/phpmyadmin/phpmyadmin/locale/cs/LC_MESSAGES/phpmyadmin.mo +0 -0
  1123. data/lib/support/phpmyadmin/phpmyadmin/locale/da/LC_MESSAGES/phpmyadmin.mo +0 -0
  1124. data/lib/support/phpmyadmin/phpmyadmin/locale/de/LC_MESSAGES/phpmyadmin.mo +0 -0
  1125. data/lib/support/phpmyadmin/phpmyadmin/locale/el/LC_MESSAGES/phpmyadmin.mo +0 -0
  1126. data/lib/support/phpmyadmin/phpmyadmin/locale/en_GB/LC_MESSAGES/phpmyadmin.mo +0 -0
  1127. data/lib/support/phpmyadmin/phpmyadmin/locale/es/LC_MESSAGES/phpmyadmin.mo +0 -0
  1128. data/lib/support/phpmyadmin/phpmyadmin/locale/et/LC_MESSAGES/phpmyadmin.mo +0 -0
  1129. data/lib/support/phpmyadmin/phpmyadmin/locale/fi/LC_MESSAGES/phpmyadmin.mo +0 -0
  1130. data/lib/support/phpmyadmin/phpmyadmin/locale/fr/LC_MESSAGES/phpmyadmin.mo +0 -0
  1131. data/lib/support/phpmyadmin/phpmyadmin/locale/gl/LC_MESSAGES/phpmyadmin.mo +0 -0
  1132. data/lib/support/phpmyadmin/phpmyadmin/locale/hi/LC_MESSAGES/phpmyadmin.mo +0 -0
  1133. data/lib/support/phpmyadmin/phpmyadmin/locale/hu/LC_MESSAGES/phpmyadmin.mo +0 -0
  1134. data/lib/support/phpmyadmin/phpmyadmin/locale/ia/LC_MESSAGES/phpmyadmin.mo +0 -0
  1135. data/lib/support/phpmyadmin/phpmyadmin/locale/id/LC_MESSAGES/phpmyadmin.mo +0 -0
  1136. data/lib/support/phpmyadmin/phpmyadmin/locale/it/LC_MESSAGES/phpmyadmin.mo +0 -0
  1137. data/lib/support/phpmyadmin/phpmyadmin/locale/ja/LC_MESSAGES/phpmyadmin.mo +0 -0
  1138. data/lib/support/phpmyadmin/phpmyadmin/locale/ko/LC_MESSAGES/phpmyadmin.mo +0 -0
  1139. data/lib/support/phpmyadmin/phpmyadmin/locale/lt/LC_MESSAGES/phpmyadmin.mo +0 -0
  1140. data/lib/support/phpmyadmin/phpmyadmin/locale/nb/LC_MESSAGES/phpmyadmin.mo +0 -0
  1141. data/lib/support/phpmyadmin/phpmyadmin/locale/nl/LC_MESSAGES/phpmyadmin.mo +0 -0
  1142. data/lib/support/phpmyadmin/phpmyadmin/locale/pl/LC_MESSAGES/phpmyadmin.mo +0 -0
  1143. data/lib/support/phpmyadmin/phpmyadmin/locale/pt/LC_MESSAGES/phpmyadmin.mo +0 -0
  1144. data/lib/support/phpmyadmin/phpmyadmin/locale/pt_BR/LC_MESSAGES/phpmyadmin.mo +0 -0
  1145. data/lib/support/phpmyadmin/phpmyadmin/locale/ro/LC_MESSAGES/phpmyadmin.mo +0 -0
  1146. data/lib/support/phpmyadmin/phpmyadmin/locale/ru/LC_MESSAGES/phpmyadmin.mo +0 -0
  1147. data/lib/support/phpmyadmin/phpmyadmin/locale/si/LC_MESSAGES/phpmyadmin.mo +0 -0
  1148. data/lib/support/phpmyadmin/phpmyadmin/locale/sk/LC_MESSAGES/phpmyadmin.mo +0 -0
  1149. data/lib/support/phpmyadmin/phpmyadmin/locale/sl/LC_MESSAGES/phpmyadmin.mo +0 -0
  1150. data/lib/support/phpmyadmin/phpmyadmin/locale/sq/LC_MESSAGES/phpmyadmin.mo +0 -0
  1151. data/lib/support/phpmyadmin/phpmyadmin/locale/sr@latin/LC_MESSAGES/phpmyadmin.mo +0 -0
  1152. data/lib/support/phpmyadmin/phpmyadmin/locale/sv/LC_MESSAGES/phpmyadmin.mo +0 -0
  1153. data/lib/support/phpmyadmin/phpmyadmin/locale/tr/LC_MESSAGES/phpmyadmin.mo +0 -0
  1154. data/lib/support/phpmyadmin/phpmyadmin/locale/uk/LC_MESSAGES/phpmyadmin.mo +0 -0
  1155. data/lib/support/phpmyadmin/phpmyadmin/locale/zh_CN/LC_MESSAGES/phpmyadmin.mo +0 -0
  1156. data/lib/support/phpmyadmin/phpmyadmin/locale/zh_TW/LC_MESSAGES/phpmyadmin.mo +0 -0
  1157. data/lib/support/phpmyadmin/phpmyadmin/navigation.php +71 -0
  1158. data/lib/support/phpmyadmin/phpmyadmin/normalization.php +122 -0
  1159. data/lib/support/phpmyadmin/phpmyadmin/phpinfo.php +21 -0
  1160. data/lib/support/phpmyadmin/phpmyadmin/phpmyadmin.css.php +39 -0
  1161. data/lib/support/phpmyadmin/phpmyadmin/phpunit.xml.hhvm +30 -0
  1162. data/lib/support/phpmyadmin/phpmyadmin/phpunit.xml.nocoverage +40 -0
  1163. data/lib/support/phpmyadmin/phpmyadmin/prefs_forms.php +92 -0
  1164. data/lib/support/phpmyadmin/phpmyadmin/prefs_manage.php +375 -0
  1165. data/lib/support/phpmyadmin/phpmyadmin/print.css +92 -0
  1166. data/lib/support/phpmyadmin/phpmyadmin/robots.txt +2 -0
  1167. data/lib/support/phpmyadmin/phpmyadmin/schema_export.php +77 -0
  1168. data/lib/support/phpmyadmin/phpmyadmin/server_binlog.php +54 -0
  1169. data/lib/support/phpmyadmin/phpmyadmin/server_collations.php +39 -0
  1170. data/lib/support/phpmyadmin/phpmyadmin/server_databases.php +118 -0
  1171. data/lib/support/phpmyadmin/phpmyadmin/server_engines.php +34 -0
  1172. data/lib/support/phpmyadmin/phpmyadmin/server_export.php +29 -0
  1173. data/lib/support/phpmyadmin/phpmyadmin/server_import.php +27 -0
  1174. data/lib/support/phpmyadmin/phpmyadmin/server_plugins.php +59 -0
  1175. data/lib/support/phpmyadmin/phpmyadmin/server_privileges.php +410 -0
  1176. data/lib/support/phpmyadmin/phpmyadmin/server_replication.php +83 -0
  1177. data/lib/support/phpmyadmin/phpmyadmin/server_sql.php +32 -0
  1178. data/lib/support/phpmyadmin/phpmyadmin/server_status.php +38 -0
  1179. data/lib/support/phpmyadmin/phpmyadmin/server_status_advisor.php +39 -0
  1180. data/lib/support/phpmyadmin/phpmyadmin/server_status_monitor.php +113 -0
  1181. data/lib/support/phpmyadmin/phpmyadmin/server_status_processes.php +64 -0
  1182. data/lib/support/phpmyadmin/phpmyadmin/server_status_queries.php +54 -0
  1183. data/lib/support/phpmyadmin/phpmyadmin/server_status_variables.php +57 -0
  1184. data/lib/support/phpmyadmin/phpmyadmin/server_user_groups.php +72 -0
  1185. data/lib/support/phpmyadmin/phpmyadmin/server_variables.php +60 -0
  1186. data/lib/support/phpmyadmin/phpmyadmin/setup/ajax.js +11 -0
  1187. data/lib/support/phpmyadmin/phpmyadmin/setup/config.php +81 -0
  1188. data/lib/support/phpmyadmin/phpmyadmin/setup/frames/config.inc.php +52 -0
  1189. data/lib/support/phpmyadmin/phpmyadmin/setup/frames/form.inc.php +36 -0
  1190. data/lib/support/phpmyadmin/phpmyadmin/setup/frames/index.inc.php +313 -0
  1191. data/lib/support/phpmyadmin/phpmyadmin/setup/frames/menu.inc.php +37 -0
  1192. data/lib/support/phpmyadmin/phpmyadmin/setup/frames/servers.inc.php +50 -0
  1193. data/lib/support/phpmyadmin/phpmyadmin/setup/index.php +61 -0
  1194. data/lib/support/phpmyadmin/phpmyadmin/setup/lib/ConfigGenerator.class.php +161 -0
  1195. data/lib/support/phpmyadmin/phpmyadmin/setup/lib/common.inc.php +56 -0
  1196. data/lib/support/phpmyadmin/phpmyadmin/setup/lib/form_processing.lib.php +81 -0
  1197. data/lib/support/phpmyadmin/phpmyadmin/setup/lib/index.lib.php +204 -0
  1198. data/lib/support/phpmyadmin/phpmyadmin/setup/scripts.js +216 -0
  1199. data/lib/support/phpmyadmin/phpmyadmin/setup/styles.css +619 -0
  1200. data/lib/support/phpmyadmin/phpmyadmin/setup/validate.php +32 -0
  1201. data/lib/support/phpmyadmin/phpmyadmin/show_config_errors.php +40 -0
  1202. data/lib/support/phpmyadmin/phpmyadmin/sql/create_tables.sql +323 -0
  1203. data/lib/support/phpmyadmin/phpmyadmin/sql/create_tables_drizzle.sql +275 -0
  1204. data/lib/support/phpmyadmin/phpmyadmin/sql/upgrade_column_info_4_3_0+.sql +47 -0
  1205. data/lib/support/phpmyadmin/phpmyadmin/sql/upgrade_tables_mysql_4_1_2+.sql +144 -0
  1206. data/lib/support/phpmyadmin/phpmyadmin/sql.php +203 -0
  1207. data/lib/support/phpmyadmin/phpmyadmin/tbl_addfield.php +124 -0
  1208. data/lib/support/phpmyadmin/phpmyadmin/tbl_change.php +232 -0
  1209. data/lib/support/phpmyadmin/phpmyadmin/tbl_chart.php +142 -0
  1210. data/lib/support/phpmyadmin/phpmyadmin/tbl_create.php +108 -0
  1211. data/lib/support/phpmyadmin/phpmyadmin/tbl_export.php +107 -0
  1212. data/lib/support/phpmyadmin/phpmyadmin/tbl_find_replace.php +66 -0
  1213. data/lib/support/phpmyadmin/phpmyadmin/tbl_get_field.php +55 -0
  1214. data/lib/support/phpmyadmin/phpmyadmin/tbl_gis_visualization.php +115 -0
  1215. data/lib/support/phpmyadmin/phpmyadmin/tbl_import.php +30 -0
  1216. data/lib/support/phpmyadmin/phpmyadmin/tbl_indexes.php +60 -0
  1217. data/lib/support/phpmyadmin/phpmyadmin/tbl_operations.php +423 -0
  1218. data/lib/support/phpmyadmin/phpmyadmin/tbl_printview.php +74 -0
  1219. data/lib/support/phpmyadmin/phpmyadmin/tbl_recent_favorite.php +19 -0
  1220. data/lib/support/phpmyadmin/phpmyadmin/tbl_relation.php +156 -0
  1221. data/lib/support/phpmyadmin/phpmyadmin/tbl_replace.php +468 -0
  1222. data/lib/support/phpmyadmin/phpmyadmin/tbl_row_action.php +146 -0
  1223. data/lib/support/phpmyadmin/phpmyadmin/tbl_select.php +81 -0
  1224. data/lib/support/phpmyadmin/phpmyadmin/tbl_sql.php +52 -0
  1225. data/lib/support/phpmyadmin/phpmyadmin/tbl_structure.php +210 -0
  1226. data/lib/support/phpmyadmin/phpmyadmin/tbl_tracking.php +209 -0
  1227. data/lib/support/phpmyadmin/phpmyadmin/tbl_triggers.php +10 -0
  1228. data/lib/support/phpmyadmin/phpmyadmin/tbl_zoom_select.php +165 -0
  1229. data/lib/support/phpmyadmin/phpmyadmin/themes/dot.gif +0 -0
  1230. data/lib/support/phpmyadmin/phpmyadmin/themes/original/css/common.css.php +3078 -0
  1231. data/lib/support/phpmyadmin/phpmyadmin/themes/original/css/navigation.css.php +424 -0
  1232. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/ajax_clock_small.gif +0 -0
  1233. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/arrow_ltr.png +0 -0
  1234. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/arrow_rtl.png +0 -0
  1235. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_bookmark.png +0 -0
  1236. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_browse.png +0 -0
  1237. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_calendar.png +0 -0
  1238. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_chart.png +0 -0
  1239. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_close.png +0 -0
  1240. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_column_add.png +0 -0
  1241. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_comment.png +0 -0
  1242. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_dbstatistics.png +0 -0
  1243. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_deltbl.png +0 -0
  1244. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_docs.png +0 -0
  1245. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_drop.png +0 -0
  1246. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_edit.png +0 -0
  1247. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_empty.png +0 -0
  1248. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_engine.png +0 -0
  1249. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_event_add.png +0 -0
  1250. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_events.png +0 -0
  1251. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_export.png +0 -0
  1252. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_favorite.png +0 -0
  1253. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_find_replace.png +0 -0
  1254. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_ftext.png +0 -0
  1255. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_globe.gif +0 -0
  1256. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_group.png +0 -0
  1257. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_help.png +0 -0
  1258. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_home.png +0 -0
  1259. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_import.png +0 -0
  1260. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_index.png +0 -0
  1261. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_index_add.png +0 -0
  1262. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_info.png +0 -0
  1263. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_inline_edit.png +0 -0
  1264. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_insrow.png +0 -0
  1265. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_minus.png +0 -0
  1266. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_more.png +0 -0
  1267. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_move.png +0 -0
  1268. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_newdb.png +0 -0
  1269. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_newtbl.png +0 -0
  1270. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_nextpage.png +0 -0
  1271. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_no_favorite.png +0 -0
  1272. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_plus.png +0 -0
  1273. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_primary.png +0 -0
  1274. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_print.png +0 -0
  1275. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_props.png +0 -0
  1276. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_relations.png +0 -0
  1277. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_report.png +0 -0
  1278. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_routine_add.png +0 -0
  1279. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_routines.png +0 -0
  1280. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_save.png +0 -0
  1281. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_saveimage.png +0 -0
  1282. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_sbrowse.png +0 -0
  1283. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_search.png +0 -0
  1284. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_selboard.png +0 -0
  1285. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_select.png +0 -0
  1286. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_snewtbl.png +0 -0
  1287. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_spatial.png +0 -0
  1288. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_sql.png +0 -0
  1289. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_sqlhelp.png +0 -0
  1290. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_table_add.png +0 -0
  1291. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_tblanalyse.png +0 -0
  1292. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_tblexport.png +0 -0
  1293. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_tblimport.png +0 -0
  1294. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_tblops.png +0 -0
  1295. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_tbloptimize.png +0 -0
  1296. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_tipp.png +0 -0
  1297. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_trigger_add.png +0 -0
  1298. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_triggers.png +0 -0
  1299. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_undo.png +0 -0
  1300. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_unique.png +0 -0
  1301. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_usradd.png +0 -0
  1302. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_usrcheck.png +0 -0
  1303. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_usrdrop.png +0 -0
  1304. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_usredit.png +0 -0
  1305. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_usrlist.png +0 -0
  1306. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_versions.png +0 -0
  1307. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_view.png +0 -0
  1308. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_view_add.png +0 -0
  1309. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/b_views.png +0 -0
  1310. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_browse.png +0 -0
  1311. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_deltbl.png +0 -0
  1312. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_drop.png +0 -0
  1313. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_edit.png +0 -0
  1314. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_empty.png +0 -0
  1315. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_export.png +0 -0
  1316. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_ftext.png +0 -0
  1317. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_index.png +0 -0
  1318. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_insrow.png +0 -0
  1319. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_nextpage.png +0 -0
  1320. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_primary.png +0 -0
  1321. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_routine_add.png +0 -0
  1322. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_sbrowse.png +0 -0
  1323. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_select.png +0 -0
  1324. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_spatial.png +0 -0
  1325. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/bd_unique.png +0 -0
  1326. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/centralColumns.png +0 -0
  1327. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/centralColumns_add.png +0 -0
  1328. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/centralColumns_delete.png +0 -0
  1329. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/cleardot.gif +0 -0
  1330. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/col_drop.png +0 -0
  1331. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/col_pointer.png +0 -0
  1332. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/col_pointer_ver.png +0 -0
  1333. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/console.png +0 -0
  1334. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/east-mini.png +0 -0
  1335. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/error.ico +0 -0
  1336. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/eye.png +0 -0
  1337. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/eye_grey.png +0 -0
  1338. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/lightbulb.png +0 -0
  1339. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/lightbulb_off.png +0 -0
  1340. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/logo_left.png +0 -0
  1341. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/logo_right.png +0 -0
  1342. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/more.png +0 -0
  1343. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/new_data.png +0 -0
  1344. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/new_data_hovered.png +0 -0
  1345. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/new_data_selected.png +0 -0
  1346. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/new_data_selected_hovered.png +0 -0
  1347. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/new_struct.png +0 -0
  1348. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/new_struct_hovered.png +0 -0
  1349. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/new_struct_selected.png +0 -0
  1350. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/new_struct_selected_hovered.png +0 -0
  1351. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/normalize.png +0 -0
  1352. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/north-mini.png +0 -0
  1353. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/pause.png +0 -0
  1354. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/play.png +0 -0
  1355. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_asc.png +0 -0
  1356. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_asci.png +0 -0
  1357. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_attention.png +0 -0
  1358. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_cancel.png +0 -0
  1359. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_cog.png +0 -0
  1360. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_collapseall.png +0 -0
  1361. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_db.png +0 -0
  1362. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_desc.png +0 -0
  1363. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_error.png +0 -0
  1364. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_error2.png +0 -0
  1365. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_fulltext.png +0 -0
  1366. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_host.png +0 -0
  1367. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_info.png +0 -0
  1368. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_lang.png +0 -0
  1369. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_link.png +0 -0
  1370. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_lock.png +0 -0
  1371. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_loggoff.png +0 -0
  1372. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_notice.png +0 -0
  1373. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_partialtext.png +0 -0
  1374. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_passwd.png +0 -0
  1375. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_really.png +0 -0
  1376. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_reload.png +0 -0
  1377. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_replication.png +0 -0
  1378. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_rights.png +0 -0
  1379. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_sortable.png +0 -0
  1380. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_status.png +0 -0
  1381. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_success.png +0 -0
  1382. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_sync.png +0 -0
  1383. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_tbl.png +0 -0
  1384. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_theme.png +0 -0
  1385. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_top.png +0 -0
  1386. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_unlink.png +0 -0
  1387. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_vars.png +0 -0
  1388. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/s_views.png +0 -0
  1389. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/south-mini.png +0 -0
  1390. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/spacer.png +0 -0
  1391. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/sprites.png +0 -0
  1392. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/toggle-ltr.png +0 -0
  1393. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/toggle-rtl.png +0 -0
  1394. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/vertical_line.png +0 -0
  1395. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/west-mini.png +0 -0
  1396. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/window-new.png +0 -0
  1397. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/zoom-minus-mini.png +0 -0
  1398. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/zoom-plus-mini.png +0 -0
  1399. data/lib/support/phpmyadmin/phpmyadmin/themes/original/img/zoom-world-mini.png +0 -0
  1400. data/lib/support/phpmyadmin/phpmyadmin/themes/original/info.inc.php +15 -0
  1401. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1402. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1403. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1404. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1405. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1406. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1407. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1408. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1409. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-icons_222222_256x240.png +0 -0
  1410. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
  1411. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-icons_454545_256x240.png +0 -0
  1412. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-icons_888888_256x240.png +0 -0
  1413. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
  1414. data/lib/support/phpmyadmin/phpmyadmin/themes/original/jquery/jquery-ui-1.11.2.css +1225 -0
  1415. data/lib/support/phpmyadmin/phpmyadmin/themes/original/layout.inc.php +102 -0
  1416. data/lib/support/phpmyadmin/phpmyadmin/themes/original/screen.png +0 -0
  1417. data/lib/support/phpmyadmin/phpmyadmin/themes/original/sprites.lib.php +720 -0
  1418. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/css/codemirror.css.php +350 -0
  1419. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/css/common.css.php +3401 -0
  1420. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/css/enum_editor.css.php +80 -0
  1421. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/css/gis.css.php +52 -0
  1422. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/css/jqplot.css.php +277 -0
  1423. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/css/navigation.css.php +429 -0
  1424. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/css/pmd.css.php +605 -0
  1425. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/css/resizable-menu.css.php +57 -0
  1426. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/css/rte.css.php +43 -0
  1427. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/ajax_clock_small.gif +0 -0
  1428. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/arrow_ltr.png +0 -0
  1429. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/arrow_rtl.png +0 -0
  1430. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/asc_order.png +0 -0
  1431. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_bookmark.png +0 -0
  1432. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_browse.png +0 -0
  1433. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_calendar.png +0 -0
  1434. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_chart.png +0 -0
  1435. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_close.png +0 -0
  1436. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_column_add.png +0 -0
  1437. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_comment.png +0 -0
  1438. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_dbstatistics.png +0 -0
  1439. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_deltbl.png +0 -0
  1440. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_docs.png +0 -0
  1441. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_docsql.png +0 -0
  1442. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_drop.png +0 -0
  1443. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_edit.png +0 -0
  1444. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_empty.png +0 -0
  1445. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_engine.png +0 -0
  1446. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_event_add.png +0 -0
  1447. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_events.png +0 -0
  1448. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_export.png +0 -0
  1449. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_favorite.png +0 -0
  1450. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_find_replace.png +0 -0
  1451. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_firstpage.png +0 -0
  1452. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_ftext.png +0 -0
  1453. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_globe.gif +0 -0
  1454. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_group.png +0 -0
  1455. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_help.png +0 -0
  1456. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_home.png +0 -0
  1457. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_import.png +0 -0
  1458. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_index.png +0 -0
  1459. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_index_add.png +0 -0
  1460. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_info.png +0 -0
  1461. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_inline_edit.png +0 -0
  1462. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_insrow.png +0 -0
  1463. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_lastpage.png +0 -0
  1464. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_minus.png +0 -0
  1465. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_more.png +0 -0
  1466. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_move.png +0 -0
  1467. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_newdb.png +0 -0
  1468. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_newtbl.png +0 -0
  1469. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_nextpage.png +0 -0
  1470. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_no_favorite.png +0 -0
  1471. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_pdfdoc.png +0 -0
  1472. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_plus.png +0 -0
  1473. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_prevpage.png +0 -0
  1474. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_primary.png +0 -0
  1475. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_print.png +0 -0
  1476. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_props.png +0 -0
  1477. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_relations.png +0 -0
  1478. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_report.png +0 -0
  1479. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_routine_add.png +0 -0
  1480. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_routines.png +0 -0
  1481. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_save.png +0 -0
  1482. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_saveimage.png +0 -0
  1483. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_sbrowse.png +0 -0
  1484. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_sdb.png +0 -0
  1485. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_search.png +0 -0
  1486. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_selboard.png +0 -0
  1487. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_select.png +0 -0
  1488. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_snewtbl.png +0 -0
  1489. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_spatial.png +0 -0
  1490. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_sql.png +0 -0
  1491. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_sqldoc.png +0 -0
  1492. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_sqlhelp.png +0 -0
  1493. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_table_add.png +0 -0
  1494. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_tblanalyse.png +0 -0
  1495. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_tblexport.png +0 -0
  1496. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_tblimport.png +0 -0
  1497. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_tblops.png +0 -0
  1498. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_tbloptimize.png +0 -0
  1499. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_tipp.png +0 -0
  1500. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_trigger_add.png +0 -0
  1501. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_triggers.png +0 -0
  1502. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_undo.png +0 -0
  1503. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_unique.png +0 -0
  1504. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_usradd.png +0 -0
  1505. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_usrcheck.png +0 -0
  1506. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_usrdrop.png +0 -0
  1507. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_usredit.png +0 -0
  1508. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_usrlist.png +0 -0
  1509. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_versions.png +0 -0
  1510. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_view.png +0 -0
  1511. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_view_add.png +0 -0
  1512. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/b_views.png +0 -0
  1513. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_browse.png +0 -0
  1514. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_deltbl.png +0 -0
  1515. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_drop.png +0 -0
  1516. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_edit.png +0 -0
  1517. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_empty.png +0 -0
  1518. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_export.png +0 -0
  1519. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_firstpage.png +0 -0
  1520. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_ftext.png +0 -0
  1521. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_index.png +0 -0
  1522. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_insrow.png +0 -0
  1523. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_lastpage.png +0 -0
  1524. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_nextpage.png +0 -0
  1525. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_prevpage.png +0 -0
  1526. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_primary.png +0 -0
  1527. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_routine_add.png +0 -0
  1528. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_sbrowse.png +0 -0
  1529. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_select.png +0 -0
  1530. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_spatial.png +0 -0
  1531. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/bd_unique.png +0 -0
  1532. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/centralColumns.png +0 -0
  1533. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/centralColumns_add.png +0 -0
  1534. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/centralColumns_delete.png +0 -0
  1535. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/col_drop.png +0 -0
  1536. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/col_pointer.png +0 -0
  1537. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/col_pointer_ver.png +0 -0
  1538. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/console.png +0 -0
  1539. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/database.png +0 -0
  1540. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/east-mini.png +0 -0
  1541. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/error.ico +0 -0
  1542. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/eye.png +0 -0
  1543. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/eye_grey.png +0 -0
  1544. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/item.png +0 -0
  1545. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/left_nav_bg.png +0 -0
  1546. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/lightbulb.png +0 -0
  1547. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/lightbulb_off.png +0 -0
  1548. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/logo_left.png +0 -0
  1549. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/logo_right.png +0 -0
  1550. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/more.png +0 -0
  1551. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/new_data.png +0 -0
  1552. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/new_data_hovered.png +0 -0
  1553. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/new_data_selected.png +0 -0
  1554. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/new_data_selected_hovered.png +0 -0
  1555. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/new_struct.png +0 -0
  1556. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/new_struct_hovered.png +0 -0
  1557. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/new_struct_selected.png +0 -0
  1558. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/new_struct_selected_hovered.png +0 -0
  1559. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/normalize.png +0 -0
  1560. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/north-mini.png +0 -0
  1561. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pause.png +0 -0
  1562. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/php_sym.png +0 -0
  1563. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/play.png +0 -0
  1564. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pma_logo2.png +0 -0
  1565. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/1.png +0 -0
  1566. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/2.png +0 -0
  1567. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/2leftarrow.png +0 -0
  1568. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/2leftarrow_m.png +0 -0
  1569. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/2rightarrow.png +0 -0
  1570. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/2rightarrow_m.png +0 -0
  1571. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/3.png +0 -0
  1572. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/4.png +0 -0
  1573. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/5.png +0 -0
  1574. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/6.png +0 -0
  1575. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/7.png +0 -0
  1576. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/8.png +0 -0
  1577. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/FieldKey_small.png +0 -0
  1578. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/Field_small.png +0 -0
  1579. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/Field_small_char.png +0 -0
  1580. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/Field_small_date.png +0 -0
  1581. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/Field_small_int.png +0 -0
  1582. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/Header.png +0 -0
  1583. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/Header_Linked.png +0 -0
  1584. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/anchor.png +0 -0
  1585. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/and_icon.png +0 -0
  1586. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/ang_direct.png +0 -0
  1587. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/bord.png +0 -0
  1588. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/bottom.png +0 -0
  1589. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/def.png +0 -0
  1590. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/display_field.png +0 -0
  1591. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/downarrow1.png +0 -0
  1592. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/downarrow2.png +0 -0
  1593. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/downarrow2_m.png +0 -0
  1594. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/exec.png +0 -0
  1595. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/exec_small.png +0 -0
  1596. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/exitFullscreen.png +0 -0
  1597. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/export.png +0 -0
  1598. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/favicon.ico +0 -0
  1599. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/grid.png +0 -0
  1600. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/help.png +0 -0
  1601. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/help_relation.png +0 -0
  1602. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/left_panel_butt.png +0 -0
  1603. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/left_panel_tab.png +0 -0
  1604. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/minus.png +0 -0
  1605. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/or_icon.png +0 -0
  1606. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/page_add.png +0 -0
  1607. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/page_delete.png +0 -0
  1608. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/page_edit.png +0 -0
  1609. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/pdf.png +0 -0
  1610. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/plus.png +0 -0
  1611. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/query_builder.png +0 -0
  1612. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/relation.png +0 -0
  1613. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/reload.png +0 -0
  1614. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/resize.png +0 -0
  1615. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/resizeright.png +0 -0
  1616. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/rightarrow1.png +0 -0
  1617. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/rightarrow2.png +0 -0
  1618. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/save.png +0 -0
  1619. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/save_as.png +0 -0
  1620. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/small_tab.png +0 -0
  1621. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/table.png +0 -0
  1622. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/toggle_lines.png +0 -0
  1623. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/top_panel.png +0 -0
  1624. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/uparrow2_m.png +0 -0
  1625. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/pmd/viewInFullscreen.png +0 -0
  1626. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_asc.png +0 -0
  1627. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_asci.png +0 -0
  1628. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_attention.png +0 -0
  1629. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_cancel.png +0 -0
  1630. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_cancel2.png +0 -0
  1631. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_cog.png +0 -0
  1632. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_collapseall.png +0 -0
  1633. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_db.png +0 -0
  1634. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_desc.png +0 -0
  1635. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_error.png +0 -0
  1636. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_error2.png +0 -0
  1637. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_fulltext.png +0 -0
  1638. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_host.png +0 -0
  1639. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_info.png +0 -0
  1640. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_lang.png +0 -0
  1641. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_link.png +0 -0
  1642. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_lock.png +0 -0
  1643. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_loggoff.png +0 -0
  1644. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_notice.png +0 -0
  1645. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_okay.png +0 -0
  1646. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_partialtext.png +0 -0
  1647. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_passwd.png +0 -0
  1648. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_process.png +0 -0
  1649. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_really.png +0 -0
  1650. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_reload.png +0 -0
  1651. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_replication.png +0 -0
  1652. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_rights.png +0 -0
  1653. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_sortable.png +0 -0
  1654. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_status.png +0 -0
  1655. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_success.png +0 -0
  1656. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_sync.png +0 -0
  1657. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_tbl.png +0 -0
  1658. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_theme.png +0 -0
  1659. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_top.png +0 -0
  1660. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_unlink.png +0 -0
  1661. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_vars.png +0 -0
  1662. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/s_views.png +0 -0
  1663. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/select_bg.png +0 -0
  1664. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/south-mini.png +0 -0
  1665. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/spacer.png +0 -0
  1666. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/sprites.png +0 -0
  1667. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/toggle-ltr.png +0 -0
  1668. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/toggle-rtl.png +0 -0
  1669. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/vertical_line.png +0 -0
  1670. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/west-mini.png +0 -0
  1671. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/window-new.png +0 -0
  1672. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/zoom-minus-mini.png +0 -0
  1673. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/zoom-plus-mini.png +0 -0
  1674. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/img/zoom-world-mini.png +0 -0
  1675. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/info.inc.php +21 -0
  1676. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-bg_flat_0_aaaaaa_40x100.png +0 -0
  1677. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-bg_flat_75_ffffff_40x100.png +0 -0
  1678. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-bg_glass_55_fbf9ee_1x400.png +0 -0
  1679. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-bg_glass_65_ffffff_1x400.png +0 -0
  1680. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-bg_glass_75_dadada_1x400.png +0 -0
  1681. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-bg_glass_75_e6e6e6_1x400.png +0 -0
  1682. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-bg_glass_95_fef1ec_1x400.png +0 -0
  1683. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-bg_highlight-soft_75_cccccc_1x100.png +0 -0
  1684. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-icons_222222_256x240.png +0 -0
  1685. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-icons_2e83ff_256x240.png +0 -0
  1686. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-icons_454545_256x240.png +0 -0
  1687. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-icons_888888_256x240.png +0 -0
  1688. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/images/ui-icons_cd0a0a_256x240.png +0 -0
  1689. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/jquery/jquery-ui-1.11.2.css +1225 -0
  1690. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/layout.inc.php +104 -0
  1691. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/screen.png +0 -0
  1692. data/lib/support/phpmyadmin/phpmyadmin/themes/pmahomme/sprites.lib.php +805 -0
  1693. data/lib/support/phpmyadmin/phpmyadmin/themes/sprites.css.php +60 -0
  1694. data/lib/support/phpmyadmin/phpmyadmin/themes/svg_gradient.php +53 -0
  1695. data/lib/support/phpmyadmin/phpmyadmin/themes.php +32 -0
  1696. data/lib/support/phpmyadmin/phpmyadmin/transformation_overview.php +74 -0
  1697. data/lib/support/phpmyadmin/phpmyadmin/transformation_wrapper.php +148 -0
  1698. data/lib/support/phpmyadmin/phpmyadmin/url.php +38 -0
  1699. data/lib/support/phpmyadmin/phpmyadmin/user_password.php +200 -0
  1700. data/lib/support/phpmyadmin/phpmyadmin/version_check.php +30 -0
  1701. data/lib/support/phpmyadmin/phpmyadmin/view_create.php +291 -0
  1702. data/lib/support/phpmyadmin/phpmyadmin/view_operations.php +139 -0
  1703. data/lib/support/phpmyadmin/phpmyadmin/webapp.php +55 -0
  1704. data/lib/support/pptp_vpn/ubuntu/pptpd-options +122 -0
  1705. data/lib/support/pptp_vpn/ubuntu/rc.local +17 -0
  1706. data/lib/support/pptp_vpn/ubuntu/sysctl.conf +102 -0
  1707. metadata +1705 -1
@@ -0,0 +1,2601 @@
1
+ <?php
2
+ /* vim: set expandtab sw=4 ts=4 sts=4: */
3
+ /**
4
+ * Set of functions used to build SQL dumps of tables
5
+ *
6
+ * @package PhpMyAdmin-Export
7
+ * @subpackage SQL
8
+ */
9
+ if (! defined('PHPMYADMIN')) {
10
+ exit;
11
+ }
12
+
13
+ /* Get the export interface */
14
+ require_once 'libraries/plugins/ExportPlugin.class.php';
15
+
16
+ /**
17
+ * Handles the export for the SQL class
18
+ *
19
+ * @package PhpMyAdmin-Export
20
+ * @subpackage SQL
21
+ */
22
+ class ExportSql extends ExportPlugin
23
+ {
24
+ /**
25
+ * Constructor
26
+ */
27
+ public function __construct()
28
+ {
29
+ $this->setProperties();
30
+
31
+ // Avoids undefined variables, use NULL so isset() returns false
32
+ if (! isset($GLOBALS['sql_backquotes'])) {
33
+ $GLOBALS['sql_backquotes'] = null;
34
+ }
35
+ }
36
+
37
+ /**
38
+ * Sets the export SQL properties
39
+ *
40
+ * @return void
41
+ */
42
+ protected function setProperties()
43
+ {
44
+ global $plugin_param;
45
+
46
+ $hide_sql = false;
47
+ $hide_structure = false;
48
+ if ($plugin_param['export_type'] == 'table'
49
+ && ! $plugin_param['single_table']
50
+ ) {
51
+ $hide_structure = true;
52
+ $hide_sql = true;
53
+ }
54
+
55
+ if (! $hide_sql) {
56
+ $props = 'libraries/properties/';
57
+ include_once "$props/plugins/ExportPluginProperties.class.php";
58
+ include_once "$props/options/groups/OptionsPropertyRootGroup.class.php";
59
+ include_once "$props/options/groups/OptionsPropertyMainGroup.class.php";
60
+ include_once "$props/options/groups/OptionsPropertySubgroup.class.php";
61
+ include_once "$props/options/items/BoolPropertyItem.class.php";
62
+ include_once "$props/options/items/MessageOnlyPropertyItem.class.php";
63
+ include_once "$props/options/items/RadioPropertyItem.class.php";
64
+ include_once "$props/options/items/SelectPropertyItem.class.php";
65
+ include_once "$props/options/items/TextPropertyItem.class.php";
66
+ include_once "$props/options/items/NumberPropertyItem.class.php";
67
+
68
+ $exportPluginProperties = new ExportPluginProperties();
69
+ $exportPluginProperties->setText('SQL');
70
+ $exportPluginProperties->setExtension('sql');
71
+ $exportPluginProperties->setMimeType('text/x-sql');
72
+ $exportPluginProperties->setOptionsText(__('Options'));
73
+
74
+ // create the root group that will be the options field for
75
+ // $exportPluginProperties
76
+ // this will be shown as "Format specific options"
77
+ $exportSpecificOptions = new OptionsPropertyRootGroup();
78
+ $exportSpecificOptions->setName("Format Specific Options");
79
+
80
+ // general options main group
81
+ $generalOptions = new OptionsPropertyMainGroup();
82
+ $generalOptions->setName("general_opts");
83
+
84
+ // comments
85
+ $subgroup = new OptionsPropertySubgroup();
86
+ $subgroup->setName("include_comments");
87
+ $leaf = new BoolPropertyItem();
88
+ $leaf->setName('include_comments');
89
+ $leaf->setText(
90
+ __(
91
+ 'Display comments <i>(includes info such as export'
92
+ . ' timestamp, PHP version, and server version)</i>'
93
+ )
94
+ );
95
+ $subgroup->setSubgroupHeader($leaf);
96
+
97
+ $leaf = new TextPropertyItem();
98
+ $leaf->setName('header_comment');
99
+ $leaf->setText(
100
+ __('Additional custom header comment (\n splits lines):')
101
+ );
102
+ $subgroup->addProperty($leaf);
103
+ $leaf = new BoolPropertyItem();
104
+ $leaf->setName('dates');
105
+ $leaf->setText(
106
+ __(
107
+ 'Include a timestamp of when databases were created, last'
108
+ . ' updated, and last checked'
109
+ )
110
+ );
111
+ $subgroup->addProperty($leaf);
112
+ if (! empty($GLOBALS['cfgRelation']['relation'])) {
113
+ $leaf = new BoolPropertyItem();
114
+ $leaf->setName('relation');
115
+ $leaf->setText(__('Display foreign key relationships'));
116
+ $subgroup->addProperty($leaf);
117
+ }
118
+ if (! empty($GLOBALS['cfgRelation']['mimework'])) {
119
+ $leaf = new BoolPropertyItem();
120
+ $leaf->setName('mime');
121
+ $leaf->setText(__('Display MIME types'));
122
+ $subgroup->addProperty($leaf);
123
+ }
124
+ $generalOptions->addProperty($subgroup);
125
+
126
+ // enclose in a transaction
127
+ $leaf = new BoolPropertyItem();
128
+ $leaf->setName("use_transaction");
129
+ $leaf->setText(__('Enclose export in a transaction'));
130
+ $leaf->setDoc(
131
+ array(
132
+ 'programs',
133
+ 'mysqldump',
134
+ 'option_mysqldump_single-transaction'
135
+ )
136
+ );
137
+ $generalOptions->addProperty($leaf);
138
+
139
+ // disable foreign key checks
140
+ $leaf = new BoolPropertyItem();
141
+ $leaf->setName("disable_fk");
142
+ $leaf->setText(__('Disable foreign key checks'));
143
+ $leaf->setDoc(
144
+ array(
145
+ 'manual_MySQL_Database_Administration',
146
+ 'server-system-variables',
147
+ 'sysvar_foreign_key_checks'
148
+ )
149
+ );
150
+ $generalOptions->addProperty($leaf);
151
+
152
+ // export views as tables
153
+ $leaf = new BoolPropertyItem();
154
+ $leaf->setName("views_as_tables");
155
+ $leaf->setText(__('Export views as tables'));
156
+ $generalOptions->addProperty($leaf);
157
+
158
+ // compatibility maximization
159
+ $compats = $GLOBALS['dbi']->getCompatibilities();
160
+ if (count($compats) > 0) {
161
+ $values = array();
162
+ foreach ($compats as $val) {
163
+ $values[$val] = $val;
164
+ }
165
+
166
+ $leaf = new SelectPropertyItem();
167
+ $leaf->setName("compatibility");
168
+ $leaf->setText(
169
+ __(
170
+ 'Database system or older MySQL server to maximize output'
171
+ . ' compatibility with:'
172
+ )
173
+ );
174
+ $leaf->setValues($values);
175
+ $leaf->setDoc(
176
+ array(
177
+ 'manual_MySQL_Database_Administration',
178
+ 'Server_SQL_mode'
179
+ )
180
+ );
181
+ $generalOptions->addProperty($leaf);
182
+
183
+ unset($values);
184
+ }
185
+
186
+ // server export options
187
+ if ($plugin_param['export_type'] == 'server') {
188
+ $leaf = new BoolPropertyItem();
189
+ $leaf->setName("drop_database");
190
+ $leaf->setText(
191
+ sprintf(__('Add %s statement'), '<code>DROP DATABASE</code>')
192
+ );
193
+ $generalOptions->addProperty($leaf);
194
+ }
195
+
196
+ // what to dump (structure/data/both)
197
+ $subgroup = new OptionsPropertySubgroup();
198
+ $subgroup->setName("dump_table");
199
+ $subgroup->setText("Dump table");
200
+ $leaf = new RadioPropertyItem();
201
+ $leaf->setName('structure_or_data');
202
+ $leaf->setValues(
203
+ array(
204
+ 'structure' => __('structure'),
205
+ 'data' => __('data'),
206
+ 'structure_and_data' => __('structure and data')
207
+ )
208
+ );
209
+ $subgroup->setSubgroupHeader($leaf);
210
+ $generalOptions->addProperty($subgroup);
211
+
212
+ // add the main group to the root group
213
+ $exportSpecificOptions->addProperty($generalOptions);
214
+
215
+ // structure options main group
216
+ if (! $hide_structure) {
217
+ $structureOptions = new OptionsPropertyMainGroup();
218
+ $structureOptions->setName("structure");
219
+ $structureOptions->setText(__('Object creation options'));
220
+ $structureOptions->setForce('data');
221
+
222
+ // begin SQL Statements
223
+ $subgroup = new OptionsPropertySubgroup();
224
+ $leaf = new MessageOnlyPropertyItem();
225
+ $leaf->setName('add_statements');
226
+ $leaf->setText(__('Add statements:'));
227
+ $subgroup->setSubgroupHeader($leaf);
228
+
229
+ if ($plugin_param['export_type'] != 'table') {
230
+ $leaf = new BoolPropertyItem();
231
+ $leaf->setName('create_database');
232
+ $create_clause = '<code>CREATE DATABASE / USE</code>';
233
+ $leaf->setText(sprintf(__('Add %s statement'), $create_clause));
234
+ $subgroup->addProperty($leaf);
235
+ }
236
+
237
+ if ($plugin_param['export_type'] == 'table') {
238
+ if (PMA_Table::isView($GLOBALS['db'], $GLOBALS['table'])) {
239
+ $drop_clause = '<code>DROP VIEW</code>';
240
+ } else {
241
+ $drop_clause = '<code>DROP TABLE</code>';
242
+ }
243
+ } else {
244
+ if (PMA_DRIZZLE) {
245
+ $drop_clause = '<code>DROP TABLE</code>';
246
+ } else {
247
+ $drop_clause = '<code>DROP TABLE / VIEW / PROCEDURE'
248
+ . ' / FUNCTION / EVENT</code>';
249
+ }
250
+ }
251
+
252
+ $drop_clause .= '<code> / TRIGGER</code>';
253
+
254
+ $leaf = new BoolPropertyItem();
255
+ $leaf->setName('drop_table');
256
+ $leaf->setText(sprintf(__('Add %s statement'), $drop_clause));
257
+ $subgroup->addProperty($leaf);
258
+
259
+ // Add table structure option
260
+ $leaf = new BoolPropertyItem();
261
+ $leaf->setName('create_table');
262
+ $leaf->setText(
263
+ sprintf(__('Add %s statement'), '<code>CREATE TABLE</code>')
264
+ );
265
+ $subgroup->addProperty($leaf);
266
+
267
+ // Add view option
268
+ $leaf = new BoolPropertyItem();
269
+ $leaf->setName('create_view');
270
+ $leaf->setText(
271
+ sprintf(__('Add %s statement'), '<code>CREATE VIEW</code>')
272
+ );
273
+ $subgroup->addProperty($leaf);
274
+
275
+ // Drizzle doesn't support procedures and functions
276
+ if (! PMA_DRIZZLE) {
277
+ $leaf = new BoolPropertyItem();
278
+ $leaf->setName('procedure_function');
279
+ $leaf->setText(
280
+ sprintf(
281
+ __('Add %s statement'),
282
+ '<code>CREATE PROCEDURE / FUNCTION / EVENT</code>'
283
+ )
284
+ );
285
+ $subgroup->addProperty($leaf);
286
+ }
287
+
288
+ // Add triggers option
289
+ $leaf = new BoolPropertyItem();
290
+ $leaf->setName('create_trigger');
291
+ $leaf->setText(
292
+ sprintf(__('Add %s statement'), '<code>CREATE TRIGGER</code>')
293
+ );
294
+ $subgroup->addProperty($leaf);
295
+
296
+ // begin CREATE TABLE statements
297
+ $subgroup_create_table = new OptionsPropertySubgroup();
298
+ $leaf = new BoolPropertyItem();
299
+ $leaf->setName('create_table_statements');
300
+ $leaf->setText(__('<code>CREATE TABLE</code> options:'));
301
+ $subgroup_create_table->setSubgroupHeader($leaf);
302
+ $leaf = new BoolPropertyItem();
303
+ $leaf->setName('if_not_exists');
304
+ $leaf->setText('<code>IF NOT EXISTS</code>');
305
+ $subgroup_create_table->addProperty($leaf);
306
+ $leaf = new BoolPropertyItem();
307
+ $leaf->setName('auto_increment');
308
+ $leaf->setText('<code>AUTO_INCREMENT</code>');
309
+ $subgroup_create_table->addProperty($leaf);
310
+ $subgroup->addProperty($subgroup_create_table);
311
+ $structureOptions->addProperty($subgroup);
312
+
313
+ $leaf = new BoolPropertyItem();
314
+ $leaf->setName("backquotes");
315
+ $leaf->setText(
316
+ __(
317
+ 'Enclose table and column names with backquotes '
318
+ . '<i>(Protects column and table names formed with'
319
+ . ' special characters or keywords)</i>'
320
+ )
321
+ );
322
+
323
+ $structureOptions->addProperty($leaf);
324
+
325
+ // add the main group to the root group
326
+ $exportSpecificOptions->addProperty($structureOptions);
327
+ }
328
+
329
+ // begin Data options
330
+ $dataOptions = new OptionsPropertyMainGroup();
331
+ $dataOptions->setName("data");
332
+ $dataOptions->setText(__('Data creation options'));
333
+ $dataOptions->setForce('structure');
334
+ $leaf = new BoolPropertyItem();
335
+ $leaf->setName("truncate");
336
+ $leaf->setText(__('Truncate table before insert'));
337
+ $dataOptions->addProperty($leaf);
338
+
339
+ // begin SQL Statements
340
+ $subgroup = new OptionsPropertySubgroup();
341
+ $leaf = new MessageOnlyPropertyItem();
342
+ $leaf->setText(__('Instead of <code>INSERT</code> statements, use:'));
343
+ $subgroup->setSubgroupHeader($leaf);
344
+ // Not supported in Drizzle
345
+ if (! PMA_DRIZZLE) {
346
+ $leaf = new BoolPropertyItem();
347
+ $leaf->setName("delayed");
348
+ $leaf->setText(__('<code>INSERT DELAYED</code> statements'));
349
+ $leaf->setDoc(
350
+ array(
351
+ 'manual_MySQL_Database_Administration',
352
+ 'insert_delayed'
353
+ )
354
+ );
355
+ $subgroup->addProperty($leaf);
356
+ }
357
+ $leaf = new BoolPropertyItem();
358
+ $leaf->setName("ignore");
359
+ $leaf->setText(__('<code>INSERT IGNORE</code> statements'));
360
+ $leaf->setDoc(
361
+ array(
362
+ 'manual_MySQL_Database_Administration',
363
+ 'insert'
364
+ )
365
+ );
366
+ $subgroup->addProperty($leaf);
367
+ $dataOptions->addProperty($subgroup);
368
+
369
+ // Function to use when dumping dat
370
+ $leaf = new SelectPropertyItem();
371
+ $leaf->setName("type");
372
+ $leaf->setText(__('Function to use when dumping data:'));
373
+ $leaf->setValues(
374
+ array(
375
+ 'INSERT' => 'INSERT',
376
+ 'UPDATE' => 'UPDATE',
377
+ 'REPLACE' => 'REPLACE'
378
+ )
379
+ );
380
+ $dataOptions->addProperty($leaf);
381
+
382
+ /* Syntax to use when inserting data */
383
+ $subgroup = new OptionsPropertySubgroup();
384
+ $leaf = new MessageOnlyPropertyItem();
385
+ $leaf->setText(__('Syntax to use when inserting data:'));
386
+ $subgroup->setSubgroupHeader($leaf);
387
+ $leaf = new RadioPropertyItem();
388
+ $leaf->setName("insert_syntax");
389
+ $leaf->setText(__('<code>INSERT IGNORE</code> statements'));
390
+ $leaf->setValues(
391
+ array(
392
+ 'complete' => __(
393
+ 'include column names in every <code>INSERT</code> statement'
394
+ . ' <br /> &nbsp; &nbsp; &nbsp; Example: <code>INSERT INTO'
395
+ . ' tbl_name (col_A,col_B,col_C) VALUES (1,2,3)</code>'
396
+ ),
397
+ 'extended' => __(
398
+ 'insert multiple rows in every <code>INSERT</code> statement'
399
+ . '<br /> &nbsp; &nbsp; &nbsp; Example: <code>INSERT INTO'
400
+ . ' tbl_name VALUES (1,2,3), (4,5,6), (7,8,9)</code>'
401
+ ),
402
+ 'both' => __(
403
+ 'both of the above<br /> &nbsp; &nbsp; &nbsp; Example:'
404
+ . ' <code>INSERT INTO tbl_name (col_A,col_B,col_C) VALUES'
405
+ . ' (1,2,3), (4,5,6), (7,8,9)</code>'
406
+ ),
407
+ 'none' => __(
408
+ 'neither of the above<br /> &nbsp; &nbsp; &nbsp; Example:'
409
+ . ' <code>INSERT INTO tbl_name VALUES (1,2,3)</code>'
410
+ )
411
+ )
412
+ );
413
+ $subgroup->addProperty($leaf);
414
+ $dataOptions->addProperty($subgroup);
415
+
416
+ // Max length of query
417
+ $leaf = new NumberPropertyItem();
418
+ $leaf->setName("max_query_size");
419
+ $leaf->setText(__('Maximal length of created query'));
420
+ $dataOptions->addProperty($leaf);
421
+
422
+ // Dump binary columns in hexadecimal
423
+ $leaf = new BoolPropertyItem();
424
+ $leaf->setName("hex_for_binary");
425
+ $leaf->setText(
426
+ __(
427
+ 'Dump binary columns in hexadecimal notation'
428
+ . ' <i>(for example, "abc" becomes 0x616263)</i>'
429
+ )
430
+ );
431
+ $dataOptions->addProperty($leaf);
432
+
433
+ // Drizzle works only with UTC timezone
434
+ if (! PMA_DRIZZLE) {
435
+ // Dump time in UTC
436
+ $leaf = new BoolPropertyItem();
437
+ $leaf->setName("utc_time");
438
+ $leaf->setText(
439
+ __(
440
+ 'Dump TIMESTAMP columns in UTC <i>(enables TIMESTAMP columns'
441
+ . ' to be dumped and reloaded between servers in different'
442
+ . ' time zones)</i>'
443
+ )
444
+ );
445
+ $dataOptions->addProperty($leaf);
446
+ }
447
+
448
+ // add the main group to the root group
449
+ $exportSpecificOptions->addProperty($dataOptions);
450
+
451
+ // set the options for the export plugin property item
452
+ $exportPluginProperties->setOptions($exportSpecificOptions);
453
+ $this->properties = $exportPluginProperties;
454
+ }
455
+ }
456
+
457
+ /**
458
+ * Exports routines (procedures and functions)
459
+ *
460
+ * @param string $db Database
461
+ * @param array $aliases Aliases of db/table/columns
462
+ *
463
+ * @return bool Whether it succeeded
464
+ */
465
+ public function exportRoutines($db, $aliases = array())
466
+ {
467
+ global $crlf;
468
+
469
+ $db_alias = $db;
470
+ $this->initAlias($aliases, $db_alias);
471
+
472
+ $text = '';
473
+ $delimiter = '$$';
474
+
475
+ $procedure_names = $GLOBALS['dbi']
476
+ ->getProceduresOrFunctions($db, 'PROCEDURE');
477
+ $function_names = $GLOBALS['dbi']->getProceduresOrFunctions($db, 'FUNCTION');
478
+
479
+ if ($procedure_names || $function_names) {
480
+ $text .= $crlf
481
+ . 'DELIMITER ' . $delimiter . $crlf;
482
+ }
483
+
484
+ if ($procedure_names) {
485
+ $text .=
486
+ $this->_exportComment()
487
+ . $this->_exportComment(__('Procedures'))
488
+ . $this->_exportComment();
489
+ $used_alias = false;
490
+ $proc_query = '';
491
+ foreach ($procedure_names as $procedure_name) {
492
+ if (! empty($GLOBALS['sql_drop_table'])) {
493
+ $proc_query .= 'DROP PROCEDURE IF EXISTS '
494
+ . PMA_Util::backquote($procedure_name)
495
+ . $delimiter . $crlf;
496
+ }
497
+ $create_query = $GLOBALS['dbi']
498
+ ->getDefinition($db, 'PROCEDURE', $procedure_name);
499
+ $create_query = $this->replaceWithAliases(
500
+ $create_query, $aliases, $db, '', $flag
501
+ );
502
+ // One warning per database
503
+ if ($flag) {
504
+ $used_alias = true;
505
+ }
506
+ $proc_query .= $create_query . $delimiter . $crlf . $crlf;
507
+ }
508
+ if ($used_alias) {
509
+ $text .= $this->_exportComment(
510
+ __(
511
+ 'It appears your database uses procedures;'
512
+ )
513
+ )
514
+ . $this->_exportComment(
515
+ __('alias export may not work reliably in all cases.')
516
+ )
517
+ . $this->_exportComment();
518
+ }
519
+ $text .= $proc_query;
520
+ }
521
+
522
+ if ($function_names) {
523
+ $text .=
524
+ $this->_exportComment()
525
+ . $this->_exportComment(__('Functions'))
526
+ . $this->_exportComment();
527
+ $used_alias = false;
528
+ $function_query = '';
529
+ foreach ($function_names as $function_name) {
530
+ if (! empty($GLOBALS['sql_drop_table'])) {
531
+ $function_query .= 'DROP FUNCTION IF EXISTS '
532
+ . PMA_Util::backquote($function_name)
533
+ . $delimiter . $crlf;
534
+ }
535
+ $create_query = $GLOBALS['dbi']
536
+ ->getDefinition($db, 'FUNCTION', $function_name);
537
+ $create_query = $this->replaceWithAliases(
538
+ $create_query, $aliases, $db, '', $flag
539
+ );
540
+ // One warning per database
541
+ if ($flag) {
542
+ $used_alias = true;
543
+ }
544
+ $function_query .= $create_query . $delimiter . $crlf . $crlf;
545
+ }
546
+ if ($used_alias) {
547
+ $text .= $this->_exportComment(
548
+ __('It appears your database uses functions;')
549
+ )
550
+ . $this->_exportComment(
551
+ __('alias export may not work reliably in all cases.')
552
+ )
553
+ . $this->_exportComment();
554
+ }
555
+ $text .= $function_query;
556
+ }
557
+
558
+ if ($procedure_names || $function_names) {
559
+ $text .= 'DELIMITER ;' . $crlf;
560
+ }
561
+
562
+ if (! empty($text)) {
563
+ return PMA_exportOutputHandler($text);
564
+ } else {
565
+ return false;
566
+ }
567
+ }
568
+
569
+ /**
570
+ * Possibly outputs comment
571
+ *
572
+ * @param string $text Text of comment
573
+ *
574
+ * @return string The formatted comment
575
+ */
576
+ private function _exportComment($text = '')
577
+ {
578
+ if (isset($GLOBALS['sql_include_comments'])
579
+ && $GLOBALS['sql_include_comments']
580
+ ) {
581
+ // see http://dev.mysql.com/doc/refman/5.0/en/ansi-diff-comments.html
582
+ return '--' . (empty($text) ? '' : ' ') . $text . $GLOBALS['crlf'];
583
+ } else {
584
+ return '';
585
+ }
586
+ }
587
+
588
+ /**
589
+ * Possibly outputs CRLF
590
+ *
591
+ * @return string $crlf or nothing
592
+ */
593
+ private function _possibleCRLF()
594
+ {
595
+ if (isset($GLOBALS['sql_include_comments'])
596
+ && $GLOBALS['sql_include_comments']
597
+ ) {
598
+ return $GLOBALS['crlf'];
599
+ } else {
600
+ return '';
601
+ }
602
+ }
603
+
604
+ /**
605
+ * Outputs export footer
606
+ *
607
+ * @return bool Whether it succeeded
608
+ */
609
+ public function exportFooter()
610
+ {
611
+ global $crlf, $mysql_charset_map;
612
+
613
+ $foot = '';
614
+
615
+ if (isset($GLOBALS['sql_disable_fk'])) {
616
+ $foot .= 'SET FOREIGN_KEY_CHECKS=1;' . $crlf;
617
+ }
618
+
619
+ if (isset($GLOBALS['sql_use_transaction'])) {
620
+ $foot .= 'COMMIT;' . $crlf;
621
+ }
622
+
623
+ // restore connection settings
624
+ $charset_of_file = isset($GLOBALS['charset_of_file'])
625
+ ? $GLOBALS['charset_of_file'] : '';
626
+ if (! empty($GLOBALS['asfile'])
627
+ && isset($mysql_charset_map[$charset_of_file])
628
+ && ! PMA_DRIZZLE
629
+ ) {
630
+ $foot .= $crlf
631
+ . '/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;'
632
+ . $crlf
633
+ . '/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;'
634
+ . $crlf
635
+ . '/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;'
636
+ . $crlf;
637
+ }
638
+
639
+ /* Restore timezone */
640
+ if (isset($GLOBALS['sql_utc_time']) && $GLOBALS['sql_utc_time']) {
641
+ $GLOBALS['dbi']->query('SET time_zone = "' . $GLOBALS['old_tz'] . '"');
642
+ }
643
+
644
+ return PMA_exportOutputHandler($foot);
645
+ }
646
+
647
+ /**
648
+ * Outputs export header. It is the first method to be called, so all
649
+ * the required variables are initialized here.
650
+ *
651
+ * @return bool Whether it succeeded
652
+ */
653
+ public function exportHeader()
654
+ {
655
+ global $crlf, $cfg;
656
+ global $mysql_charset_map;
657
+
658
+ if (isset($GLOBALS['sql_compatibility'])) {
659
+ $tmp_compat = $GLOBALS['sql_compatibility'];
660
+ if ($tmp_compat == 'NONE') {
661
+ $tmp_compat = '';
662
+ }
663
+ $GLOBALS['dbi']->tryQuery('SET SQL_MODE="' . $tmp_compat . '"');
664
+ unset($tmp_compat);
665
+ }
666
+ $head = $this->_exportComment('phpMyAdmin SQL Dump')
667
+ . $this->_exportComment('version ' . PMA_VERSION)
668
+ . $this->_exportComment('http://www.phpmyadmin.net')
669
+ . $this->_exportComment();
670
+ $host_string = __('Host:') . ' ' . $cfg['Server']['host'];
671
+ if (! empty($cfg['Server']['port'])) {
672
+ $host_string .= ':' . $cfg['Server']['port'];
673
+ }
674
+ $head .= $this->_exportComment($host_string);
675
+ $head .=
676
+ $this->_exportComment(
677
+ __('Generation Time:') . ' '
678
+ . PMA_Util::localisedDate()
679
+ )
680
+ . $this->_exportComment(
681
+ __('Server version:') . ' ' . PMA_MYSQL_STR_VERSION
682
+ )
683
+ . $this->_exportComment(__('PHP Version:') . ' ' . phpversion())
684
+ . $this->_possibleCRLF();
685
+
686
+ if (isset($GLOBALS['sql_header_comment'])
687
+ && ! empty($GLOBALS['sql_header_comment'])
688
+ ) {
689
+ // '\n' is not a newline (like "\n" would be), it's the characters
690
+ // backslash and n, as explained on the export interface
691
+ $lines = explode('\n', $GLOBALS['sql_header_comment']);
692
+ $head .= $this->_exportComment();
693
+ foreach ($lines as $one_line) {
694
+ $head .= $this->_exportComment($one_line);
695
+ }
696
+ $head .= $this->_exportComment();
697
+ }
698
+
699
+ if (isset($GLOBALS['sql_disable_fk'])) {
700
+ $head .= 'SET FOREIGN_KEY_CHECKS=0;' . $crlf;
701
+ }
702
+
703
+ // We want exported AUTO_INCREMENT columns to have still same value,
704
+ // do this only for recent MySQL exports
705
+ if ((! isset($GLOBALS['sql_compatibility'])
706
+ || $GLOBALS['sql_compatibility'] == 'NONE')
707
+ && ! PMA_DRIZZLE
708
+ ) {
709
+ $head .= 'SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";' . $crlf;
710
+ }
711
+
712
+ if (isset($GLOBALS['sql_use_transaction'])) {
713
+ $head .= 'SET AUTOCOMMIT = 0;' . $crlf
714
+ . 'START TRANSACTION;' . $crlf;
715
+ }
716
+
717
+ /* Change timezone if we should export timestamps in UTC */
718
+ if (isset($GLOBALS['sql_utc_time']) && $GLOBALS['sql_utc_time']) {
719
+ $head .= 'SET time_zone = "+00:00";' . $crlf;
720
+ $GLOBALS['old_tz'] = $GLOBALS['dbi']
721
+ ->fetchValue('SELECT @@session.time_zone');
722
+ $GLOBALS['dbi']->query('SET time_zone = "+00:00"');
723
+ }
724
+
725
+ $head .= $this->_possibleCRLF();
726
+
727
+ if (! empty($GLOBALS['asfile']) && ! PMA_DRIZZLE) {
728
+ // we are saving as file, therefore we provide charset information
729
+ // so that a utility like the mysql client can interpret
730
+ // the file correctly
731
+ if (isset($GLOBALS['charset_of_file'])
732
+ && isset($mysql_charset_map[$GLOBALS['charset_of_file']])
733
+ ) {
734
+ // we got a charset from the export dialog
735
+ $set_names = $mysql_charset_map[$GLOBALS['charset_of_file']];
736
+ } else {
737
+ // by default we use the connection charset
738
+ $set_names = $mysql_charset_map['utf-8'];
739
+ }
740
+ $head .= $crlf
741
+ . '/*!40101 SET @OLD_CHARACTER_SET_CLIENT='
742
+ . '@@CHARACTER_SET_CLIENT */;' . $crlf
743
+ . '/*!40101 SET @OLD_CHARACTER_SET_RESULTS='
744
+ . '@@CHARACTER_SET_RESULTS */;' . $crlf
745
+ . '/*!40101 SET @OLD_COLLATION_CONNECTION='
746
+ . '@@COLLATION_CONNECTION */;' . $crlf
747
+ . '/*!40101 SET NAMES ' . $set_names . ' */;' . $crlf . $crlf;
748
+ }
749
+
750
+ return PMA_exportOutputHandler($head);
751
+ }
752
+
753
+ /**
754
+ * Outputs CREATE DATABASE statement
755
+ *
756
+ * @param string $db Database name
757
+ * @param string $db_alias Aliases of db
758
+ *
759
+ * @return bool Whether it succeeded
760
+ */
761
+ public function exportDBCreate($db, $db_alias = '')
762
+ {
763
+ global $crlf;
764
+
765
+ if (empty($db_alias)) {
766
+ $db_alias = $db;
767
+ }
768
+ if (isset($GLOBALS['sql_compatibility'])) {
769
+ $compat = $GLOBALS['sql_compatibility'];
770
+ } else {
771
+ $compat = 'NONE';
772
+ }
773
+ if (isset($GLOBALS['sql_drop_database'])) {
774
+ if (! PMA_exportOutputHandler(
775
+ 'DROP DATABASE '
776
+ . PMA_Util::backquoteCompat(
777
+ $db_alias, $compat, isset($GLOBALS['sql_backquotes'])
778
+ )
779
+ . ';' . $crlf
780
+ )) {
781
+ return false;
782
+ }
783
+ }
784
+ if (!isset($GLOBALS['sql_create_database'])) {
785
+ return true;
786
+ }
787
+
788
+ $create_query = 'CREATE DATABASE IF NOT EXISTS '
789
+ . PMA_Util::backquoteCompat(
790
+ $db_alias, $compat, isset($GLOBALS['sql_backquotes'])
791
+ );
792
+ $collation = PMA_getDbCollation($db);
793
+ if (PMA_DRIZZLE) {
794
+ $create_query .= ' COLLATE ' . $collation;
795
+ } else {
796
+ if (/*overload*/mb_strpos($collation, '_')) {
797
+ $create_query .= ' DEFAULT CHARACTER SET '
798
+ . /*overload*/mb_substr(
799
+ $collation,
800
+ 0,
801
+ /*overload*/mb_strpos($collation, '_')
802
+ )
803
+ . ' COLLATE ' . $collation;
804
+ } else {
805
+ $create_query .= ' DEFAULT CHARACTER SET ' . $collation;
806
+ }
807
+ }
808
+ $create_query .= ';' . $crlf;
809
+ if (! PMA_exportOutputHandler($create_query)) {
810
+ return false;
811
+ }
812
+ if ((isset($GLOBALS['sql_compatibility'])
813
+ && $GLOBALS['sql_compatibility'] == 'NONE')
814
+ || PMA_DRIZZLE
815
+ ) {
816
+ $result = PMA_exportOutputHandler(
817
+ 'USE '
818
+ . PMA_Util::backquoteCompat(
819
+ $db_alias, $compat, isset($GLOBALS['sql_backquotes'])
820
+ )
821
+ . ';' . $crlf
822
+ );
823
+ } else {
824
+ $result = PMA_exportOutputHandler('USE ' . $db_alias . ';' . $crlf);
825
+ }
826
+ return $result;
827
+ }
828
+
829
+ /**
830
+ * Outputs database header
831
+ *
832
+ * @param string $db Database name
833
+ * @param string $db_alias Alias of db
834
+ *
835
+ * @return bool Whether it succeeded
836
+ */
837
+ public function exportDBHeader($db, $db_alias = '')
838
+ {
839
+ if (empty($db_alias)) {
840
+ $db_alias = $db;
841
+ }
842
+ if (isset($GLOBALS['sql_compatibility'])) {
843
+ $compat = $GLOBALS['sql_compatibility'];
844
+ } else {
845
+ $compat = 'NONE';
846
+ }
847
+ $head = $this->_exportComment()
848
+ . $this->_exportComment(
849
+ __('Database:') . ' '
850
+ . PMA_Util::backquoteCompat(
851
+ $db_alias, $compat, isset($GLOBALS['sql_backquotes'])
852
+ )
853
+ )
854
+ . $this->_exportComment();
855
+ return PMA_exportOutputHandler($head);
856
+ }
857
+
858
+ /**
859
+ * Outputs database footer
860
+ *
861
+ * @param string $db Database name
862
+ *
863
+ * @return bool Whether it succeeded
864
+ */
865
+ public function exportDBFooter($db)
866
+ {
867
+ global $crlf;
868
+
869
+ $result = true;
870
+
871
+ //add indexes to the sql dump file
872
+ if (isset($GLOBALS['sql_indexes'])) {
873
+ $result = PMA_exportOutputHandler($GLOBALS['sql_indexes']);
874
+ unset($GLOBALS['sql_indexes']);
875
+ }
876
+ //add auto increments to the sql dump file
877
+ if (isset($GLOBALS['sql_auto_increments'])) {
878
+ $result = PMA_exportOutputHandler($GLOBALS['sql_auto_increments']);
879
+ unset($GLOBALS['sql_auto_increments']);
880
+ }
881
+ //add constraints to the sql dump file
882
+ if (isset($GLOBALS['sql_constraints'])) {
883
+ $result = PMA_exportOutputHandler($GLOBALS['sql_constraints']);
884
+ unset($GLOBALS['sql_constraints']);
885
+ }
886
+
887
+ if (($GLOBALS['sql_structure_or_data'] == 'structure'
888
+ || $GLOBALS['sql_structure_or_data'] == 'structure_and_data')
889
+ && isset($GLOBALS['sql_procedure_function'])
890
+ ) {
891
+ $text = '';
892
+ $delimiter = '$$';
893
+
894
+ $event_names = $GLOBALS['dbi']->fetchResult(
895
+ 'SELECT EVENT_NAME FROM information_schema.EVENTS WHERE'
896
+ . ' EVENT_SCHEMA= \''
897
+ . PMA_Util::sqlAddSlashes($db, true)
898
+ . '\';'
899
+ );
900
+
901
+ if ($event_names) {
902
+ $text .= $crlf
903
+ . 'DELIMITER ' . $delimiter . $crlf;
904
+
905
+ $text .=
906
+ $this->_exportComment()
907
+ . $this->_exportComment(__('Events'))
908
+ . $this->_exportComment();
909
+
910
+ foreach ($event_names as $event_name) {
911
+ if (! empty($GLOBALS['sql_drop_table'])) {
912
+ $text .= 'DROP EVENT '
913
+ . PMA_Util::backquote($event_name)
914
+ . $delimiter . $crlf;
915
+ }
916
+ $text .= $GLOBALS['dbi']
917
+ ->getDefinition($db, 'EVENT', $event_name)
918
+ . $delimiter . $crlf . $crlf;
919
+ }
920
+
921
+ $text .= 'DELIMITER ;' . $crlf;
922
+ }
923
+
924
+ if (! empty($text)) {
925
+ $result = PMA_exportOutputHandler($text);
926
+ }
927
+ }
928
+ return $result;
929
+ }
930
+
931
+ /**
932
+ * Returns a stand-in CREATE definition to resolve view dependencies
933
+ *
934
+ * @param string $db the database name
935
+ * @param string $view the view name
936
+ * @param string $crlf the end of line sequence
937
+ * @param array $aliases Aliases of db/table/columns
938
+ *
939
+ * @return string resulting definition
940
+ */
941
+ public function getTableDefStandIn($db, $view, $crlf, $aliases = array())
942
+ {
943
+ $db_alias = $db;
944
+ $view_alias = $view;
945
+ $this->initAlias($aliases, $db_alias, $view_alias);
946
+ $create_query = '';
947
+ if (! empty($GLOBALS['sql_drop_table'])) {
948
+ $create_query .= 'DROP VIEW IF EXISTS '
949
+ . PMA_Util::backquote($view_alias)
950
+ . ';' . $crlf;
951
+ }
952
+
953
+ $create_query .= 'CREATE TABLE ';
954
+
955
+ if (isset($GLOBALS['sql_if_not_exists'])
956
+ && $GLOBALS['sql_if_not_exists']
957
+ ) {
958
+ $create_query .= 'IF NOT EXISTS ';
959
+ }
960
+ $create_query .= PMA_Util::backquote($view_alias) . ' (' . $crlf;
961
+ $tmp = array();
962
+ $columns = $GLOBALS['dbi']->getColumnsFull($db, $view);
963
+ foreach ($columns as $column_name => $definition) {
964
+ $col_alias = $column_name;
965
+ if (!empty($aliases[$db]['tables'][$view]['columns'][$col_alias])) {
966
+ $col_alias = $aliases[$db]['tables'][$view]['columns'][$col_alias];
967
+ }
968
+ $tmp[] = PMA_Util::backquote($col_alias) . ' ' .
969
+ $definition['Type'] . $crlf;
970
+ }
971
+ $create_query .= implode(',', $tmp) . ');' . $crlf;
972
+ return($create_query);
973
+ }
974
+
975
+ /**
976
+ * Returns CREATE definition that matches $view's structure
977
+ *
978
+ * @param string $db the database name
979
+ * @param string $view the view name
980
+ * @param string $crlf the end of line sequence
981
+ * @param bool $add_semicolon whether to add semicolon and end-of-line at
982
+ * the end
983
+ * @param array $aliases Aliases of db/table/columns
984
+ *
985
+ * @return string resulting schema
986
+ */
987
+ private function _getTableDefForView(
988
+ $db,
989
+ $view,
990
+ $crlf,
991
+ $add_semicolon = true,
992
+ $aliases = array()
993
+ ) {
994
+ $db_alias = $db;
995
+ $view_alias = $view;
996
+ $this->initAlias($aliases, $db_alias, $view_alias);
997
+ $create_query = "CREATE TABLE";
998
+ if (isset($GLOBALS['sql_if_not_exists'])) {
999
+ $create_query .= " IF NOT EXISTS ";
1000
+ }
1001
+ $create_query .= PMA_Util::backquote($view_alias) . "(" . $crlf;
1002
+
1003
+ $columns = $GLOBALS['dbi']->getColumns($db, $view, null, true);
1004
+
1005
+ $firstCol = true;
1006
+ foreach ($columns as $column) {
1007
+ $col_alias = $column['Field'];
1008
+ if (!empty($aliases[$db]['tables'][$view]['columns'][$col_alias])) {
1009
+ $col_alias = $aliases[$db]['tables'][$view]['columns'][$col_alias];
1010
+ }
1011
+ $extracted_columnspec = PMA_Util::extractColumnSpec($column['Type']);
1012
+
1013
+ if (! $firstCol) {
1014
+ $create_query .= "," . $crlf;
1015
+ }
1016
+ $create_query .= " " . PMA_Util::backquote($col_alias);
1017
+ $create_query .= " " . $column['Type'];
1018
+ if ($extracted_columnspec['can_contain_collation']
1019
+ && ! empty($column['Collation'])
1020
+ ) {
1021
+ $create_query .= " COLLATE " . $column['Collation'];
1022
+ }
1023
+ if ($column['Null'] == 'NO') {
1024
+ $create_query .= " NOT NULL";
1025
+ }
1026
+ if (isset($column['Default'])) {
1027
+ $create_query .= " DEFAULT '"
1028
+ . PMA_Util::sqlAddSlashes($column['Default']) . "'";
1029
+ } else if ($column['Null'] == 'YES') {
1030
+ $create_query .= " DEFAULT NULL";
1031
+ }
1032
+ if (! empty($column['Comment'])) {
1033
+ $create_query .= " COMMENT '"
1034
+ . PMA_Util::sqlAddSlashes($column['Comment']) . "'";
1035
+ }
1036
+ $firstCol = false;
1037
+ }
1038
+ $create_query .= $crlf . ")" . ($add_semicolon ? ';' : '') . $crlf;
1039
+
1040
+ if (isset($GLOBALS['sql_compatibility'])) {
1041
+ $compat = $GLOBALS['sql_compatibility'];
1042
+ } else {
1043
+ $compat = 'NONE';
1044
+ }
1045
+ if ($compat == 'MSSQL') {
1046
+ $create_query = $this->_makeCreateTableMSSQLCompatible(
1047
+ $create_query
1048
+ );
1049
+ }
1050
+ return $create_query;
1051
+ }
1052
+
1053
+ /**
1054
+ * Returns $table's CREATE definition
1055
+ *
1056
+ * @param string $db the database name
1057
+ * @param string $table the table name
1058
+ * @param string $crlf the end of line sequence
1059
+ * @param string $error_url the url to go back in case
1060
+ * of error
1061
+ * @param bool $show_dates whether to include creation/
1062
+ * update/check dates
1063
+ * @param bool $add_semicolon whether to add semicolon and
1064
+ * end-of-line at the end
1065
+ * @param bool $view whether we're handling a view
1066
+ * @param bool $update_indexes_increments whether we need to update
1067
+ * two global variables
1068
+ * @param array $aliases Aliases of db/table/columns
1069
+ *
1070
+ * @return string resulting schema
1071
+ */
1072
+ public function getTableDef(
1073
+ $db,
1074
+ $table,
1075
+ $crlf,
1076
+ $error_url,
1077
+ $show_dates = false,
1078
+ $add_semicolon = true,
1079
+ $view = false,
1080
+ $update_indexes_increments = true,
1081
+ $aliases = array()
1082
+ ) {
1083
+ global $sql_drop_table, $sql_backquotes, $sql_constraints,
1084
+ $sql_constraints_query, $sql_indexes, $sql_indexes_query,
1085
+ $sql_auto_increments,$sql_drop_foreign_keys;
1086
+
1087
+ $db_alias = $db;
1088
+ $table_alias = $table;
1089
+ $this->initAlias($aliases, $db_alias, $table_alias);
1090
+
1091
+ $schema_create = '';
1092
+ $auto_increment = '';
1093
+ $new_crlf = $crlf;
1094
+
1095
+ if (isset($GLOBALS['sql_compatibility'])) {
1096
+ $compat = $GLOBALS['sql_compatibility'];
1097
+ } else {
1098
+ $compat = 'NONE';
1099
+ }
1100
+
1101
+ // need to use PMA_DatabaseInterface::QUERY_STORE
1102
+ // with $GLOBALS['dbi']->numRows() in mysqli
1103
+ $result = $GLOBALS['dbi']->query(
1104
+ 'SHOW TABLE STATUS FROM ' . PMA_Util::backquote($db)
1105
+ . ' WHERE Name = \'' . PMA_Util::sqlAddSlashes($table) . '\'',
1106
+ null,
1107
+ PMA_DatabaseInterface::QUERY_STORE
1108
+ );
1109
+ if ($result != false) {
1110
+ if ($GLOBALS['dbi']->numRows($result) > 0) {
1111
+ $tmpres = $GLOBALS['dbi']->fetchAssoc($result);
1112
+ if (PMA_DRIZZLE && $show_dates) {
1113
+ // Drizzle doesn't give Create_time and Update_time in
1114
+ // SHOW TABLE STATUS, add it
1115
+ $sql ="SELECT
1116
+ TABLE_CREATION_TIME AS Create_time,
1117
+ TABLE_UPDATE_TIME AS Update_time
1118
+ FROM data_dictionary.TABLES
1119
+ WHERE TABLE_SCHEMA = '"
1120
+ . PMA_Util::sqlAddSlashes($db) . "'
1121
+ AND TABLE_NAME = '"
1122
+ . PMA_Util::sqlAddSlashes($table) . "'";
1123
+ $tmpres = array_merge(
1124
+ $GLOBALS['dbi']->fetchSingleRow($sql), $tmpres
1125
+ );
1126
+ }
1127
+ // Here we optionally add the AUTO_INCREMENT next value,
1128
+ // but starting with MySQL 5.0.24, the clause is already included
1129
+ // in SHOW CREATE TABLE so we'll remove it below
1130
+ // It's required for Drizzle because SHOW CREATE TABLE uses
1131
+ // the value from table's creation time
1132
+ if (isset($GLOBALS['sql_auto_increment'])
1133
+ && ! empty($tmpres['Auto_increment'])
1134
+ ) {
1135
+ $auto_increment .= ' AUTO_INCREMENT='
1136
+ . $tmpres['Auto_increment'] . ' ';
1137
+ }
1138
+
1139
+ if ($show_dates
1140
+ && isset($tmpres['Create_time'])
1141
+ && ! empty($tmpres['Create_time'])
1142
+ ) {
1143
+ $schema_create .= $this->_exportComment(
1144
+ __('Creation:') . ' '
1145
+ . PMA_Util::localisedDate(
1146
+ strtotime($tmpres['Create_time'])
1147
+ )
1148
+ );
1149
+ $new_crlf = $this->_exportComment() . $crlf;
1150
+ }
1151
+
1152
+ if ($show_dates
1153
+ && isset($tmpres['Update_time'])
1154
+ && ! empty($tmpres['Update_time'])
1155
+ ) {
1156
+ $schema_create .= $this->_exportComment(
1157
+ __('Last update:') . ' '
1158
+ . PMA_Util::localisedDate(
1159
+ strtotime($tmpres['Update_time'])
1160
+ )
1161
+ );
1162
+ $new_crlf = $this->_exportComment() . $crlf;
1163
+ }
1164
+
1165
+ if ($show_dates
1166
+ && isset($tmpres['Check_time'])
1167
+ && ! empty($tmpres['Check_time'])
1168
+ ) {
1169
+ $schema_create .= $this->_exportComment(
1170
+ __('Last check:') . ' '
1171
+ . PMA_Util::localisedDate(
1172
+ strtotime($tmpres['Check_time'])
1173
+ )
1174
+ );
1175
+ $new_crlf = $this->_exportComment() . $crlf;
1176
+ }
1177
+ }
1178
+ $GLOBALS['dbi']->freeResult($result);
1179
+ }
1180
+
1181
+ $schema_create .= $new_crlf;
1182
+
1183
+ // no need to generate a DROP VIEW here, it was done earlier
1184
+ if (! empty($sql_drop_table) && ! PMA_Table::isView($db, $table)) {
1185
+ $schema_create .= 'DROP TABLE IF EXISTS '
1186
+ . PMA_Util::backquote($table_alias, $sql_backquotes) . ';'
1187
+ . $crlf;
1188
+ }
1189
+
1190
+ // Complete table dump,
1191
+ // Whether to quote table and column names or not
1192
+ // Drizzle always quotes names
1193
+ if (! PMA_DRIZZLE) {
1194
+ if ($sql_backquotes) {
1195
+ $GLOBALS['dbi']->query('SET SQL_QUOTE_SHOW_CREATE = 1');
1196
+ } else {
1197
+ $GLOBALS['dbi']->query('SET SQL_QUOTE_SHOW_CREATE = 0');
1198
+ }
1199
+ }
1200
+
1201
+ // I don't see the reason why this unbuffered query could cause problems,
1202
+ // because SHOW CREATE TABLE returns only one row, and we free the
1203
+ // results below. Nonetheless, we got 2 user reports about this
1204
+ // (see bug 1562533) so I removed the unbuffered mode.
1205
+ // $result = $GLOBALS['dbi']->query('SHOW CREATE TABLE ' . backquote($db)
1206
+ // . '.' . backquote($table), null, PMA_DatabaseInterface::QUERY_UNBUFFERED);
1207
+ //
1208
+ // Note: SHOW CREATE TABLE, at least in MySQL 5.1.23, does not
1209
+ // produce a displayable result for the default value of a BIT
1210
+ // column, nor does the mysqldump command. See MySQL bug 35796
1211
+ $result = $GLOBALS['dbi']->tryQuery(
1212
+ 'SHOW CREATE TABLE ' . PMA_Util::backquote($db) . '.'
1213
+ . PMA_Util::backquote($table)
1214
+ );
1215
+ // an error can happen, for example the table is crashed
1216
+ $tmp_error = $GLOBALS['dbi']->getError();
1217
+ if ($tmp_error) {
1218
+ return $this->_exportComment(__('in use') . '(' . $tmp_error . ')');
1219
+ }
1220
+
1221
+ $warning = '';
1222
+ if ($result != false && ($row = $GLOBALS['dbi']->fetchRow($result))) {
1223
+ $create_query = $row[1];
1224
+ unset($row);
1225
+ // Convert end of line chars to one that we want (note that MySQL
1226
+ // doesn't return query it will accept in all cases)
1227
+ if (/*overload*/mb_strpos($create_query, "(\r\n ")) {
1228
+ $create_query = str_replace("\r\n", $crlf, $create_query);
1229
+ } elseif (/*overload*/mb_strpos($create_query, "(\n ")) {
1230
+ $create_query = str_replace("\n", $crlf, $create_query);
1231
+ } elseif (/*overload*/mb_strpos($create_query, "(\r ")) {
1232
+ $create_query = str_replace("\r", $crlf, $create_query);
1233
+ }
1234
+
1235
+ /*
1236
+ * Drop database name from VIEW creation.
1237
+ *
1238
+ * This is a bit tricky, but we need to issue SHOW CREATE TABLE with
1239
+ * database name, but we don't want name to show up in CREATE VIEW
1240
+ * statement.
1241
+ */
1242
+ if ($view) {
1243
+ $create_query = preg_replace(
1244
+ '/' . preg_quote(PMA_Util::backquote($db)) . '\./',
1245
+ '',
1246
+ $create_query
1247
+ );
1248
+ }
1249
+ // substitute aliases in create query
1250
+ $create_query = $this->replaceWithAliases(
1251
+ $create_query, $aliases, $db, $table, $flag
1252
+ );
1253
+ // One warning per view
1254
+ if ($flag && $view) {
1255
+ $warning = $this->_exportComment()
1256
+ . $this->_exportComment(
1257
+ __('It appears your database uses views;')
1258
+ )
1259
+ . $this->_exportComment(
1260
+ __('alias export may not work reliably in all cases.')
1261
+ )
1262
+ . $this->_exportComment();
1263
+ }
1264
+ // Should we use IF NOT EXISTS?
1265
+ if (isset($GLOBALS['sql_if_not_exists'])) {
1266
+ $create_query = preg_replace(
1267
+ '/^CREATE TABLE/',
1268
+ 'CREATE TABLE IF NOT EXISTS',
1269
+ $create_query
1270
+ );
1271
+ }
1272
+
1273
+ if ($compat == 'MSSQL') {
1274
+ $create_query = $this->_makeCreateTableMSSQLCompatible(
1275
+ $create_query
1276
+ );
1277
+ }
1278
+
1279
+ // Drizzle (checked on 2011.03.13) returns ROW_FORMAT surrounded
1280
+ // with quotes, which is not accepted by parser
1281
+ if (PMA_DRIZZLE) {
1282
+ $create_query = preg_replace(
1283
+ '/ROW_FORMAT=\'(\S+)\'/',
1284
+ 'ROW_FORMAT=$1',
1285
+ $create_query
1286
+ );
1287
+ }
1288
+
1289
+ //are there any constraints to cut out?
1290
+ if (preg_match('@CONSTRAINT|KEY@', $create_query)) {
1291
+ $has_constraints = 0;
1292
+ $has_indexes = 0;
1293
+
1294
+ //if there are constraints
1295
+ if (preg_match(
1296
+ '@CONSTRAINT@',
1297
+ $create_query
1298
+ )) {
1299
+ $has_constraints = 1;
1300
+ // comments -> constraints for dumped tables
1301
+ $sql_constraints = $this->generateComment(
1302
+ $crlf, $sql_constraints, __('Constraints for dumped tables'),
1303
+ __('Constraints for table'), $table_alias, $compat
1304
+ );
1305
+
1306
+ $sql_constraints_query .= 'ALTER TABLE '
1307
+ . PMA_Util::backquoteCompat(
1308
+ $table_alias, $compat, $sql_backquotes
1309
+ )
1310
+ . $crlf;
1311
+ $sql_constraints .= 'ALTER TABLE '
1312
+ . PMA_Util::backquoteCompat(
1313
+ $table_alias, $compat, $sql_backquotes
1314
+ )
1315
+ . $crlf;
1316
+ $sql_drop_foreign_keys .= 'ALTER TABLE '
1317
+ . PMA_Util::backquoteCompat(
1318
+ $db_alias, $compat, $sql_backquotes
1319
+ )
1320
+ . '.'
1321
+ . PMA_Util::backquoteCompat(
1322
+ $table_alias, $compat, $sql_backquotes
1323
+ )
1324
+ . $crlf;
1325
+ }
1326
+ //if there are indexes
1327
+ // (look for KEY followed by whitespace to avoid matching
1328
+ // keywords like PACK_KEYS)
1329
+ if ($update_indexes_increments && preg_match(
1330
+ '@KEY[\s]+@',
1331
+ $create_query
1332
+ )) {
1333
+ $has_indexes = 1;
1334
+
1335
+ // comments -> indexes for dumped tables
1336
+ $sql_indexes = $this->generateComment(
1337
+ $crlf, $sql_indexes, __('Indexes for dumped tables'),
1338
+ __('Indexes for table'), $table_alias, $compat
1339
+ );
1340
+ $sql_indexes_query_start = 'ALTER TABLE '
1341
+ . PMA_Util::backquoteCompat(
1342
+ $table_alias, $compat, $sql_backquotes
1343
+ );
1344
+ $sql_indexes_query .= $sql_indexes_query_start;
1345
+
1346
+ $sql_indexes_start = 'ALTER TABLE '
1347
+ . PMA_Util::backquoteCompat(
1348
+ $table_alias, $compat, $sql_backquotes
1349
+ );
1350
+ $sql_indexes .= $sql_indexes_start;
1351
+ }
1352
+ if ($update_indexes_increments && preg_match(
1353
+ '@AUTO_INCREMENT@',
1354
+ $create_query
1355
+ )) {
1356
+ // comments -> auto increments for dumped tables
1357
+ $sql_auto_increments = $this->generateComment(
1358
+ $crlf, $sql_auto_increments,
1359
+ __('AUTO_INCREMENT for dumped tables'),
1360
+ __('AUTO_INCREMENT for table'), $table_alias, $compat
1361
+ );
1362
+ $sql_auto_increments .= 'ALTER TABLE '
1363
+ . PMA_Util::backquoteCompat(
1364
+ $table_alias, $compat, $sql_backquotes
1365
+ )
1366
+ . $crlf;
1367
+ }
1368
+
1369
+ // Split the query into lines, so we can easily handle it.
1370
+ // We know lines are separated by $crlf (done few lines above).
1371
+ $sql_lines = explode($crlf, $create_query);
1372
+ $sql_count = count($sql_lines);
1373
+
1374
+ // lets find first line with constraints
1375
+ $first_occur = -1;
1376
+ for ($i = 0; $i < $sql_count; $i++) {
1377
+ $sql_line = current(explode(' COMMENT ', $sql_lines[$i], 2));
1378
+ if (preg_match(
1379
+ '@[\s]+(CONSTRAINT|KEY)@',
1380
+ $sql_line
1381
+ ) && $first_occur == -1) {
1382
+ $first_occur = $i;
1383
+ }
1384
+ }
1385
+
1386
+ for ($k = 0; $k < $sql_count; $k++) {
1387
+ if ($update_indexes_increments && preg_match(
1388
+ '( AUTO_INCREMENT | AUTO_INCREMENT,| AUTO_INCREMENT$)',
1389
+ $sql_lines[$k]
1390
+ )) {
1391
+ //creates auto increment code
1392
+ $sql_auto_increments .= " MODIFY " . ltrim($sql_lines[$k]);
1393
+ //removes auto increment code from table definition
1394
+ $sql_lines[$k] = str_replace(
1395
+ " AUTO_INCREMENT", "", $sql_lines[$k]
1396
+ );
1397
+ }
1398
+ if (isset($GLOBALS['sql_auto_increment'])
1399
+ && $update_indexes_increments && preg_match(
1400
+ '@[\s]+(AUTO_INCREMENT=)@',
1401
+ $sql_lines[$k]
1402
+ )) {
1403
+ //adds auto increment value
1404
+ $increment_value = /*overload*/mb_substr(
1405
+ $sql_lines[$k],
1406
+ /*overload*/mb_strpos($sql_lines[$k], "AUTO_INCREMENT")
1407
+ );
1408
+ $increment_value_array = explode(' ', $increment_value);
1409
+ $sql_auto_increments .= $increment_value_array[0] . ";";
1410
+
1411
+ }
1412
+ }
1413
+
1414
+ if ($sql_auto_increments != '') {
1415
+ $sql_auto_increments = /*overload*/mb_substr(
1416
+ $sql_auto_increments, 0, -1
1417
+ ) . ';';
1418
+ }
1419
+ // If we really found a constraint
1420
+ if ($first_occur != $sql_count) {
1421
+ // lets find first line
1422
+ $sql_lines[$first_occur - 1] = preg_replace(
1423
+ '@,$@',
1424
+ '',
1425
+ $sql_lines[$first_occur - 1]
1426
+ );
1427
+
1428
+ $first = true;
1429
+ $sql_index_ended = false;
1430
+ for ($j = $first_occur; $j < $sql_count; $j++) {
1431
+ //removes extra space at the beginning, if there is
1432
+ $sql_lines[$j]=ltrim($sql_lines[$j], ' ');
1433
+
1434
+ //if it's a constraint
1435
+ if (preg_match(
1436
+ '@CONSTRAINT|FOREIGN[\s]+KEY@',
1437
+ $sql_lines[$j]
1438
+ )) {
1439
+ if (! $first) {
1440
+ $sql_constraints .= $crlf;
1441
+ }
1442
+ $posConstraint = /*overload*/mb_strpos(
1443
+ $sql_lines[$j],
1444
+ 'CONSTRAINT'
1445
+ );
1446
+ if ($posConstraint === false) {
1447
+ $tmp_str = preg_replace(
1448
+ '/(FOREIGN[\s]+KEY)/',
1449
+ ' ADD \1',
1450
+ $sql_lines[$j]
1451
+ );
1452
+
1453
+ $sql_constraints_query .= $tmp_str;
1454
+ $sql_constraints .= $tmp_str;
1455
+
1456
+ } else {
1457
+ $tmp_str = preg_replace(
1458
+ '/(CONSTRAINT)/',
1459
+ ' ADD \1',
1460
+ $sql_lines[$j]
1461
+ );
1462
+
1463
+ $sql_constraints_query .= $tmp_str;
1464
+ $sql_constraints .= $tmp_str;
1465
+ preg_match(
1466
+ '/(CONSTRAINT)([\s])([\S]*)([\s])/',
1467
+ $sql_lines[$j],
1468
+ $matches
1469
+ );
1470
+ if (! $first) {
1471
+ $sql_drop_foreign_keys .= ', ';
1472
+ }
1473
+ $sql_drop_foreign_keys .= 'DROP FOREIGN KEY '
1474
+ . $matches[3];
1475
+ }
1476
+ $first = false;
1477
+ } else if ($update_indexes_increments && preg_match(
1478
+ '@KEY[\s]+@',
1479
+ $sql_lines[$j]
1480
+ )) {
1481
+ //if it's a index
1482
+
1483
+ // if index query was terminated earlier
1484
+ if ($sql_index_ended) {
1485
+ // start a new query with ALTER TABLE
1486
+ $sql_indexes .= $sql_indexes_start;
1487
+ $sql_indexes_query .= $sql_indexes_query_start;
1488
+
1489
+ $sql_index_ended = false;
1490
+ }
1491
+
1492
+ $tmp_str = $crlf . " ADD " . $sql_lines[$j];
1493
+ $sql_indexes_query .= $tmp_str;
1494
+ $sql_indexes .= $tmp_str;
1495
+
1496
+ // InnoDB supports one FULLTEXT index creation at a time
1497
+ // So end the query and start over
1498
+ if ($update_indexes_increments && preg_match(
1499
+ '@FULLTEXT KEY[\s]+@',
1500
+ $sql_lines[$j]
1501
+ )) {
1502
+ //removes superfluous comma at the end
1503
+ $sql_indexes = rtrim($sql_indexes, ',');
1504
+ $sql_indexes_query = rtrim($sql_indexes_query, ',');
1505
+
1506
+ // add ending semicolon
1507
+ $sql_indexes .= ';' . $crlf;
1508
+ $sql_indexes_query .= ';' . $crlf;
1509
+
1510
+ $sql_index_ended = true;
1511
+ }
1512
+ } else {
1513
+ break;
1514
+ }
1515
+ }
1516
+ //removes superfluous comma at the end
1517
+ $sql_indexes = rtrim($sql_indexes, ',');
1518
+ $sql_indexes_query = rtrim($sql_indexes_query, ',');
1519
+ //removes superfluous semicolon at the end
1520
+ if ($has_constraints == 1) {
1521
+ $sql_constraints .= ';' . $crlf;
1522
+ $sql_constraints_query .= ';';
1523
+ }
1524
+ if ($has_indexes == 1 && ! $sql_index_ended) {
1525
+ $sql_indexes .= ';' . $crlf;
1526
+ $sql_indexes_query .= ';';
1527
+ }
1528
+ //remove indexes and constraints from the $create_query
1529
+ $create_query = implode(
1530
+ $crlf,
1531
+ array_slice($sql_lines, 0, $first_occur)
1532
+ )
1533
+ . $crlf
1534
+ . implode(
1535
+ $crlf,
1536
+ array_slice($sql_lines, $j, $sql_count - 1)
1537
+ );
1538
+ unset($sql_lines);
1539
+ }
1540
+ }
1541
+ $schema_create .= $create_query;
1542
+ }
1543
+
1544
+ // remove a possible "AUTO_INCREMENT = value" clause
1545
+ // that could be there starting with MySQL 5.0.24
1546
+ // in Drizzle it's useless as it contains the value given at table
1547
+ // creation time
1548
+ if (preg_match('/AUTO_INCREMENT\s*=\s*([0-9])+/', $schema_create)) {
1549
+ if ($compat == 'MSSQL' || $auto_increment == '') {
1550
+ $auto_increment = ' ';
1551
+ }
1552
+ $schema_create = preg_replace(
1553
+ '/\sAUTO_INCREMENT\s*=\s*([0-9])+\s/',
1554
+ $auto_increment,
1555
+ $schema_create
1556
+ );
1557
+ }
1558
+
1559
+ $GLOBALS['dbi']->freeResult($result);
1560
+ return $warning . $schema_create . ($add_semicolon ? ';' . $crlf : '');
1561
+ } // end of the 'getTableDef()' function
1562
+
1563
+ /**
1564
+ * Returns $table's comments, relations etc.
1565
+ *
1566
+ * @param string $db database name
1567
+ * @param string $table table name
1568
+ * @param string $crlf end of line sequence
1569
+ * @param bool $do_relation whether to include relation comments
1570
+ * @param bool $do_mime whether to include mime comments
1571
+ * @param array $aliases Aliases of db/table/columns
1572
+ *
1573
+ * @return string resulting comments
1574
+ */
1575
+ private function _getTableComments(
1576
+ $db,
1577
+ $table,
1578
+ $crlf,
1579
+ $do_relation = false,
1580
+ $do_mime = false,
1581
+ $aliases = array()
1582
+ ) {
1583
+ global $cfgRelation, $sql_backquotes;
1584
+
1585
+ $db_alias = $db;
1586
+ $table_alias = $table;
1587
+ $this->initAlias($aliases, $db_alias, $table_alias);
1588
+
1589
+ $schema_create = '';
1590
+
1591
+ // Check if we can use Relations
1592
+ list($res_rel, $have_rel) = PMA_getRelationsAndStatus(
1593
+ $do_relation && ! empty($cfgRelation['relation']),
1594
+ $db,
1595
+ $table
1596
+ );
1597
+
1598
+ if ($do_mime && $cfgRelation['mimework']) {
1599
+ if (! ($mime_map = PMA_getMIME($db, $table, true))) {
1600
+ unset($mime_map);
1601
+ }
1602
+ }
1603
+
1604
+ if (isset($mime_map) && count($mime_map) > 0) {
1605
+ $schema_create .= $this->_possibleCRLF()
1606
+ . $this->_exportComment()
1607
+ . $this->_exportComment(
1608
+ __('MIME TYPES FOR TABLE') . ' '
1609
+ . PMA_Util::backquote($table, $sql_backquotes) . ':'
1610
+ );
1611
+ @reset($mime_map);
1612
+ foreach ($mime_map as $mime_field => $mime) {
1613
+ $schema_create .=
1614
+ $this->_exportComment(
1615
+ ' '
1616
+ . PMA_Util::backquote($mime_field, $sql_backquotes)
1617
+ )
1618
+ . $this->_exportComment(
1619
+ ' '
1620
+ . PMA_Util::backquote(
1621
+ $mime['mimetype'],
1622
+ $sql_backquotes
1623
+ )
1624
+ );
1625
+ }
1626
+ $schema_create .= $this->_exportComment();
1627
+ }
1628
+
1629
+ if ($have_rel) {
1630
+ $schema_create .= $this->_possibleCRLF()
1631
+ . $this->_exportComment()
1632
+ . $this->_exportComment(
1633
+ __('RELATIONS FOR TABLE') . ' '
1634
+ . PMA_Util::backquote($table_alias, $sql_backquotes)
1635
+ . ':'
1636
+ );
1637
+
1638
+ foreach ($res_rel as $rel_field => $rel) {
1639
+ if ($rel_field != 'foreign_keys_data') {
1640
+ $rel_field_alias = !empty(
1641
+ $aliases[$db]['tables'][$table]['columns'][$rel_field]
1642
+ ) ? $aliases[$db]['tables'][$table]['columns'][$rel_field]
1643
+ : $rel_field;
1644
+ $schema_create .=
1645
+ $this->_exportComment(
1646
+ ' '
1647
+ . PMA_Util::backquote($rel_field_alias, $sql_backquotes)
1648
+ )
1649
+ . $this->_exportComment(
1650
+ ' '
1651
+ . PMA_Util::backquote(
1652
+ $rel['foreign_table'],
1653
+ $sql_backquotes
1654
+ )
1655
+ . ' -> '
1656
+ . PMA_Util::backquote(
1657
+ $rel['foreign_field'],
1658
+ $sql_backquotes
1659
+ )
1660
+ );
1661
+ } else {
1662
+ foreach ($rel as $one_key) {
1663
+ foreach ($one_key['index_list'] as $index => $field) {
1664
+ $rel_field_alias = !empty(
1665
+ $aliases[$db]['tables'][$table]['columns'][$field]
1666
+ ) ? $aliases[$db]['tables'][$table]['columns'][$field]
1667
+ : $field;
1668
+ $schema_create .=
1669
+ $this->_exportComment(
1670
+ ' '
1671
+ . PMA_Util::backquote(
1672
+ $rel_field_alias,
1673
+ $sql_backquotes
1674
+ )
1675
+ )
1676
+ . $this->_exportComment(
1677
+ ' '
1678
+ . PMA_Util::backquote(
1679
+ $one_key['ref_table_name'],
1680
+ $sql_backquotes
1681
+ )
1682
+ . ' -> '
1683
+ . PMA_Util::backquote(
1684
+ $one_key['ref_index_list'][$index],
1685
+ $sql_backquotes
1686
+ )
1687
+ );
1688
+ }
1689
+ }
1690
+ }
1691
+ }
1692
+ $schema_create .= $this->_exportComment();
1693
+ }
1694
+
1695
+ return $schema_create;
1696
+
1697
+ } // end of the '_getTableComments()' function
1698
+
1699
+ /**
1700
+ * Outputs table's structure
1701
+ *
1702
+ * @param string $db database name
1703
+ * @param string $table table name
1704
+ * @param string $crlf the end of line sequence
1705
+ * @param string $error_url the url to go back in case of error
1706
+ * @param string $export_mode 'create_table','triggers','create_view',
1707
+ * 'stand_in'
1708
+ * @param string $export_type 'server', 'database', 'table'
1709
+ * @param bool $relation whether to include relation comments
1710
+ * @param bool $comments whether to include the pmadb-style column
1711
+ * comments as comments in the structure; this is
1712
+ * deprecated but the parameter is left here
1713
+ * because export.php calls exportStructure()
1714
+ * also for other export types which use this
1715
+ * parameter
1716
+ * @param bool $mime whether to include mime comments
1717
+ * @param bool $dates whether to include creation/update/check dates
1718
+ * @param array $aliases Aliases of db/table/columns
1719
+ *
1720
+ * @return bool Whether it succeeded
1721
+ */
1722
+ public function exportStructure(
1723
+ $db,
1724
+ $table,
1725
+ $crlf,
1726
+ $error_url,
1727
+ $export_mode,
1728
+ $export_type,
1729
+ $relation = false,
1730
+ $comments = false,
1731
+ $mime = false,
1732
+ $dates = false,
1733
+ $aliases = array()
1734
+ ) {
1735
+ $db_alias = $db;
1736
+ $table_alias = $table;
1737
+ $this->initAlias($aliases, $db_alias, $table_alias);
1738
+ if (isset($GLOBALS['sql_compatibility'])) {
1739
+ $compat = $GLOBALS['sql_compatibility'];
1740
+ } else {
1741
+ $compat = 'NONE';
1742
+ }
1743
+
1744
+ $formatted_table_name = PMA_Util::backquoteCompat(
1745
+ $table_alias, $compat, isset($GLOBALS['sql_backquotes'])
1746
+ );
1747
+ $dump = $this->_possibleCRLF()
1748
+ . $this->_exportComment(str_repeat('-', 56))
1749
+ . $this->_possibleCRLF()
1750
+ . $this->_exportComment();
1751
+
1752
+ switch($export_mode) {
1753
+ case 'create_table':
1754
+ $dump .= $this->_exportComment(
1755
+ __('Table structure for table') . ' ' . $formatted_table_name
1756
+ );
1757
+ $dump .= $this->_exportComment();
1758
+ $dump .= $this->getTableDef(
1759
+ $db, $table, $crlf, $error_url, $dates,
1760
+ true, false, true, $aliases
1761
+ );
1762
+ $dump .= $this->_getTableComments(
1763
+ $db, $table, $crlf, $relation, $mime, $aliases
1764
+ );
1765
+ break;
1766
+ case 'triggers':
1767
+ $dump = '';
1768
+ $delimiter = '$$';
1769
+ $triggers = $GLOBALS['dbi']->getTriggers($db, $table, $delimiter);
1770
+ if ($triggers) {
1771
+ $dump .= $this->_possibleCRLF()
1772
+ . $this->_exportComment()
1773
+ . $this->_exportComment(
1774
+ __('Triggers') . ' ' . $formatted_table_name
1775
+ )
1776
+ . $this->_exportComment();
1777
+ $used_alias = false;
1778
+ $trigger_query = '';
1779
+ foreach ($triggers as $trigger) {
1780
+ if (! empty($GLOBALS['sql_drop_table'])) {
1781
+ $trigger_query .= $trigger['drop'] . ';' . $crlf;
1782
+ }
1783
+
1784
+ $trigger_query .= 'DELIMITER ' . $delimiter . $crlf;
1785
+ $trigger_query .= $this->replaceWithAliases(
1786
+ $trigger['create'], $aliases, $db, $table, $flag
1787
+ );
1788
+ if ($flag) {
1789
+ $used_alias = true;
1790
+ }
1791
+ $trigger_query .= 'DELIMITER ;' . $crlf;
1792
+ }
1793
+ // One warning per table.
1794
+ if ($used_alias) {
1795
+ $dump .= $this->_exportComment(
1796
+ __('It appears your table uses triggers;')
1797
+ )
1798
+ . $this->_exportComment(
1799
+ __('alias export may not work reliably in all cases.')
1800
+ )
1801
+ . $this->_exportComment();
1802
+ }
1803
+ $dump .= $trigger_query;
1804
+ }
1805
+ break;
1806
+ case 'create_view':
1807
+ if (empty($GLOBALS['sql_views_as_tables'])) {
1808
+ $dump .=
1809
+ $this->_exportComment(
1810
+ __('Structure for view')
1811
+ . ' '
1812
+ . $formatted_table_name
1813
+ )
1814
+ . $this->_exportComment();
1815
+ // delete the stand-in table previously created (if any)
1816
+ if ($export_type != 'table') {
1817
+ $dump .= 'DROP TABLE IF EXISTS '
1818
+ . PMA_Util::backquote($table_alias) . ';' . $crlf;
1819
+ }
1820
+ $dump .= $this->getTableDef(
1821
+ $db, $table, $crlf, $error_url, $dates,
1822
+ true, true, true, $aliases
1823
+ );
1824
+ } else {
1825
+ $dump .=
1826
+ $this->_exportComment(
1827
+ sprintf(
1828
+ __('Structure for view %s exported as a table'),
1829
+ $formatted_table_name
1830
+ )
1831
+ )
1832
+ . $this->_exportComment();
1833
+ // delete the stand-in table previously created (if any)
1834
+ if ($export_type != 'table') {
1835
+ $dump .= 'DROP TABLE IF EXISTS '
1836
+ . PMA_Util::backquote($table_alias) . ';' . $crlf;
1837
+ }
1838
+ $dump .= $this->_getTableDefForView(
1839
+ $db, $table, $crlf, true, $aliases
1840
+ );
1841
+ }
1842
+ break;
1843
+ case 'stand_in':
1844
+ $dump .=
1845
+ $this->_exportComment(
1846
+ __('Stand-in structure for view') . ' ' . $formatted_table_name
1847
+ )
1848
+ . $this->_exportComment();
1849
+ // export a stand-in definition to resolve view dependencies
1850
+ $dump .= $this->getTableDefStandIn($db, $table, $crlf, $aliases);
1851
+ } // end switch
1852
+
1853
+ // this one is built by getTableDef() to use in table copy/move
1854
+ // but not in the case of export
1855
+ unset($GLOBALS['sql_constraints_query']);
1856
+
1857
+ return PMA_exportOutputHandler($dump);
1858
+ }
1859
+
1860
+ /**
1861
+ * Outputs the content of a table in SQL format
1862
+ *
1863
+ * @param string $db database name
1864
+ * @param string $table table name
1865
+ * @param string $crlf the end of line sequence
1866
+ * @param string $error_url the url to go back in case of error
1867
+ * @param string $sql_query SQL query for obtaining data
1868
+ * @param array $aliases Aliases of db/table/columns
1869
+ *
1870
+ * @return bool Whether it succeeded
1871
+ */
1872
+ public function exportData(
1873
+ $db, $table, $crlf, $error_url, $sql_query, $aliases = array()
1874
+ ) {
1875
+ global $current_row, $sql_backquotes;
1876
+
1877
+ $db_alias = $db;
1878
+ $table_alias = $table;
1879
+ $this->initAlias($aliases, $db_alias, $table_alias);
1880
+
1881
+ if (isset($GLOBALS['sql_compatibility'])) {
1882
+ $compat = $GLOBALS['sql_compatibility'];
1883
+ } else {
1884
+ $compat = 'NONE';
1885
+ }
1886
+
1887
+ $formatted_table_name = PMA_Util::backquoteCompat(
1888
+ $table_alias, $compat, $sql_backquotes
1889
+ );
1890
+
1891
+ // Do not export data for a VIEW, unless asked to export the view as a table
1892
+ // (For a VIEW, this is called only when exporting a single VIEW)
1893
+ if (PMA_Table::isView($db, $table)
1894
+ && empty($GLOBALS['sql_views_as_tables'])
1895
+ ) {
1896
+ $head = $this->_possibleCRLF()
1897
+ . $this->_exportComment()
1898
+ . $this->_exportComment('VIEW ' . ' ' . $formatted_table_name)
1899
+ . $this->_exportComment(__('Data:') . ' ' . __('None'))
1900
+ . $this->_exportComment()
1901
+ . $this->_possibleCRLF();
1902
+
1903
+ if (! PMA_exportOutputHandler($head)) {
1904
+ return false;
1905
+ }
1906
+ return true;
1907
+ }
1908
+
1909
+ $result = $GLOBALS['dbi']->tryQuery(
1910
+ $sql_query, null, PMA_DatabaseInterface::QUERY_UNBUFFERED
1911
+ );
1912
+ // a possible error: the table has crashed
1913
+ $tmp_error = $GLOBALS['dbi']->getError();
1914
+ if ($tmp_error) {
1915
+ return PMA_exportOutputHandler(
1916
+ $this->_exportComment(
1917
+ __('Error reading data:') . ' (' . $tmp_error . ')'
1918
+ )
1919
+ );
1920
+ }
1921
+
1922
+ if ($result == false) {
1923
+ $GLOBALS['dbi']->freeResult($result);
1924
+ return true;
1925
+ }
1926
+
1927
+ $fields_cnt = $GLOBALS['dbi']->numFields($result);
1928
+
1929
+ // Get field information
1930
+ $fields_meta = $GLOBALS['dbi']->getFieldsMeta($result);
1931
+ $field_flags = array();
1932
+ for ($j = 0; $j < $fields_cnt; $j++) {
1933
+ $field_flags[$j] = $GLOBALS['dbi']->fieldFlags($result, $j);
1934
+ }
1935
+
1936
+ $field_set = array();
1937
+ for ($j = 0; $j < $fields_cnt; $j++) {
1938
+ $col_as = $fields_meta[$j]->name;
1939
+ if (!empty($aliases[$db]['tables'][$table]['columns'][$col_as])) {
1940
+ $col_as = $aliases[$db]['tables'][$table]['columns'][$col_as];
1941
+ }
1942
+ $field_set[$j] = PMA_Util::backquoteCompat(
1943
+ $col_as,
1944
+ $compat,
1945
+ $sql_backquotes
1946
+ );
1947
+ }
1948
+
1949
+ if (isset($GLOBALS['sql_type'])
1950
+ && $GLOBALS['sql_type'] == 'UPDATE'
1951
+ ) {
1952
+ // update
1953
+ $schema_insert = 'UPDATE ';
1954
+ if (isset($GLOBALS['sql_ignore'])) {
1955
+ $schema_insert .= 'IGNORE ';
1956
+ }
1957
+ // avoid EOL blank
1958
+ $schema_insert .= PMA_Util::backquoteCompat(
1959
+ $table_alias,
1960
+ $compat,
1961
+ $sql_backquotes
1962
+ ) . ' SET';
1963
+ } else {
1964
+ // insert or replace
1965
+ if (isset($GLOBALS['sql_type'])
1966
+ && $GLOBALS['sql_type'] == 'REPLACE'
1967
+ ) {
1968
+ $sql_command = 'REPLACE';
1969
+ } else {
1970
+ $sql_command = 'INSERT';
1971
+ }
1972
+
1973
+ // delayed inserts?
1974
+ if (isset($GLOBALS['sql_delayed'])) {
1975
+ $insert_delayed = ' DELAYED';
1976
+ } else {
1977
+ $insert_delayed = '';
1978
+ }
1979
+
1980
+ // insert ignore?
1981
+ if (isset($GLOBALS['sql_type'])
1982
+ && $GLOBALS['sql_type'] == 'INSERT'
1983
+ && isset($GLOBALS['sql_ignore'])
1984
+ ) {
1985
+ $insert_delayed .= ' IGNORE';
1986
+ }
1987
+ //truncate table before insert
1988
+ if (isset($GLOBALS['sql_truncate'])
1989
+ && $GLOBALS['sql_truncate']
1990
+ && $sql_command == 'INSERT'
1991
+ ) {
1992
+ $truncate = 'TRUNCATE TABLE '
1993
+ . PMA_Util::backquoteCompat(
1994
+ $table_alias,
1995
+ $compat,
1996
+ $sql_backquotes
1997
+ ) . ";";
1998
+ $truncatehead = $this->_possibleCRLF()
1999
+ . $this->_exportComment()
2000
+ . $this->_exportComment(
2001
+ __('Truncate table before insert') . ' '
2002
+ . $formatted_table_name
2003
+ )
2004
+ . $this->_exportComment()
2005
+ . $crlf;
2006
+ PMA_exportOutputHandler($truncatehead);
2007
+ PMA_exportOutputHandler($truncate);
2008
+ }
2009
+
2010
+ // scheme for inserting fields
2011
+ if ($GLOBALS['sql_insert_syntax'] == 'complete'
2012
+ || $GLOBALS['sql_insert_syntax'] == 'both'
2013
+ ) {
2014
+ $fields = implode(', ', $field_set);
2015
+ $schema_insert = $sql_command . $insert_delayed . ' INTO '
2016
+ . PMA_Util::backquoteCompat(
2017
+ $table_alias,
2018
+ $compat,
2019
+ $sql_backquotes
2020
+ )
2021
+ // avoid EOL blank
2022
+ . ' (' . $fields . ') VALUES';
2023
+ } else {
2024
+ $schema_insert = $sql_command . $insert_delayed . ' INTO '
2025
+ . PMA_Util::backquoteCompat(
2026
+ $table_alias,
2027
+ $compat,
2028
+ $sql_backquotes
2029
+ )
2030
+ . ' VALUES';
2031
+ }
2032
+ }
2033
+
2034
+ //\x08\\x09, not required
2035
+ $search = array("\x00", "\x0a", "\x0d", "\x1a");
2036
+ $replace = array('\0', '\n', '\r', '\Z');
2037
+ $current_row = 0;
2038
+ $query_size = 0;
2039
+ if (($GLOBALS['sql_insert_syntax'] == 'extended'
2040
+ || $GLOBALS['sql_insert_syntax'] == 'both')
2041
+ && (! isset($GLOBALS['sql_type'])
2042
+ || $GLOBALS['sql_type'] != 'UPDATE')
2043
+ ) {
2044
+ $separator = ',';
2045
+ $schema_insert .= $crlf;
2046
+ } else {
2047
+ $separator = ';';
2048
+ }
2049
+
2050
+ while ($row = $GLOBALS['dbi']->fetchRow($result)) {
2051
+ if ($current_row == 0) {
2052
+ $head = $this->_possibleCRLF()
2053
+ . $this->_exportComment()
2054
+ . $this->_exportComment(
2055
+ __('Dumping data for table') . ' '
2056
+ . $formatted_table_name
2057
+ )
2058
+ . $this->_exportComment()
2059
+ . $crlf;
2060
+ if (! PMA_exportOutputHandler($head)) {
2061
+ return false;
2062
+ }
2063
+ }
2064
+ // We need to SET IDENTITY_INSERT ON for MSSQL
2065
+ if (isset($GLOBALS['sql_compatibility'])
2066
+ && $GLOBALS['sql_compatibility'] == 'MSSQL'
2067
+ && $current_row == 0
2068
+ ) {
2069
+ if (! PMA_exportOutputHandler(
2070
+ 'SET IDENTITY_INSERT '
2071
+ . PMA_Util::backquoteCompat(
2072
+ $table_alias,
2073
+ $compat,
2074
+ $sql_backquotes
2075
+ )
2076
+ . ' ON ;' . $crlf
2077
+ )) {
2078
+ return false;
2079
+ }
2080
+ }
2081
+ $current_row++;
2082
+ $values = array();
2083
+ for ($j = 0; $j < $fields_cnt; $j++) {
2084
+ // NULL
2085
+ if (! isset($row[$j]) || is_null($row[$j])) {
2086
+ $values[] = 'NULL';
2087
+ } elseif ($fields_meta[$j]->numeric
2088
+ && $fields_meta[$j]->type != 'timestamp'
2089
+ && ! $fields_meta[$j]->blob
2090
+ ) {
2091
+ // a number
2092
+ // timestamp is numeric on some MySQL 4.1, BLOBs are
2093
+ // sometimes numeric
2094
+ $values[] = $row[$j];
2095
+ } elseif (stristr($field_flags[$j], 'BINARY') !== false
2096
+ && isset($GLOBALS['sql_hex_for_binary'])
2097
+ ) {
2098
+ // a true BLOB
2099
+ // - mysqldump only generates hex data when the --hex-blob
2100
+ // option is used, for fields having the binary attribute
2101
+ // no hex is generated
2102
+ // - a TEXT field returns type blob but a real blob
2103
+ // returns also the 'binary' flag
2104
+
2105
+ // empty blobs need to be different, but '0' is also empty
2106
+ // :-(
2107
+ if (empty($row[$j]) && $row[$j] != '0') {
2108
+ $values[] = '\'\'';
2109
+ } else {
2110
+ $values[] = '0x' . bin2hex($row[$j]);
2111
+ }
2112
+ } elseif ($fields_meta[$j]->type == 'bit') {
2113
+ // detection of 'bit' works only on mysqli extension
2114
+ $values[] = "b'" . PMA_Util::sqlAddSlashes(
2115
+ PMA_Util::printableBitValue(
2116
+ $row[$j], $fields_meta[$j]->length
2117
+ )
2118
+ )
2119
+ . "'";
2120
+ } else {
2121
+ // something else -> treat as a string
2122
+ $values[] = '\''
2123
+ . str_replace(
2124
+ $search, $replace,
2125
+ PMA_Util::sqlAddSlashes($row[$j])
2126
+ )
2127
+ . '\'';
2128
+ } // end if
2129
+ } // end for
2130
+
2131
+ // should we make update?
2132
+ if (isset($GLOBALS['sql_type'])
2133
+ && $GLOBALS['sql_type'] == 'UPDATE'
2134
+ ) {
2135
+
2136
+ $insert_line = $schema_insert;
2137
+ for ($i = 0; $i < $fields_cnt; $i++) {
2138
+ if (0 == $i) {
2139
+ $insert_line .= ' ';
2140
+ }
2141
+ if ($i > 0) {
2142
+ // avoid EOL blank
2143
+ $insert_line .= ',';
2144
+ }
2145
+ $insert_line .= $field_set[$i] . ' = ' . $values[$i];
2146
+ }
2147
+
2148
+ list($tmp_unique_condition, $tmp_clause_is_unique)
2149
+ = PMA_Util::getUniqueCondition(
2150
+ $result,
2151
+ $fields_cnt,
2152
+ $fields_meta,
2153
+ $row
2154
+ );
2155
+ $insert_line .= ' WHERE ' . $tmp_unique_condition;
2156
+ unset($tmp_unique_condition, $tmp_clause_is_unique);
2157
+
2158
+ } else {
2159
+
2160
+ // Extended inserts case
2161
+ if ($GLOBALS['sql_insert_syntax'] == 'extended'
2162
+ || $GLOBALS['sql_insert_syntax'] == 'both'
2163
+ ) {
2164
+ if ($current_row == 1) {
2165
+ $insert_line = $schema_insert . '('
2166
+ . implode(', ', $values) . ')';
2167
+ } else {
2168
+ $insert_line = '(' . implode(', ', $values) . ')';
2169
+ $insertLineSize = /*overload*/mb_strlen($insert_line);
2170
+ $sql_max_size = $GLOBALS['sql_max_query_size'];
2171
+ if (isset($sql_max_size)
2172
+ && $sql_max_size > 0
2173
+ && $query_size + $insertLineSize > $sql_max_size
2174
+ ) {
2175
+ if (! PMA_exportOutputHandler(';' . $crlf)) {
2176
+ return false;
2177
+ }
2178
+ $query_size = 0;
2179
+ $current_row = 1;
2180
+ $insert_line = $schema_insert . $insert_line;
2181
+ }
2182
+ }
2183
+ $query_size += /*overload*/mb_strlen($insert_line);
2184
+ // Other inserts case
2185
+ } else {
2186
+ $insert_line = $schema_insert
2187
+ . '(' . implode(', ', $values) . ')';
2188
+ }
2189
+ }
2190
+ unset($values);
2191
+
2192
+ if (! PMA_exportOutputHandler(
2193
+ ($current_row == 1 ? '' : $separator . $crlf)
2194
+ . $insert_line
2195
+ )) {
2196
+ return false;
2197
+ }
2198
+
2199
+ } // end while
2200
+
2201
+ if ($current_row > 0) {
2202
+ if (! PMA_exportOutputHandler(';' . $crlf)) {
2203
+ return false;
2204
+ }
2205
+ }
2206
+
2207
+ // We need to SET IDENTITY_INSERT OFF for MSSQL
2208
+ if (isset($GLOBALS['sql_compatibility'])
2209
+ && $GLOBALS['sql_compatibility'] == 'MSSQL'
2210
+ && $current_row > 0
2211
+ ) {
2212
+ $outputSucceeded = PMA_exportOutputHandler(
2213
+ $crlf . 'SET IDENTITY_INSERT '
2214
+ . PMA_Util::backquoteCompat(
2215
+ $table_alias, $compat, $sql_backquotes
2216
+ )
2217
+ . ' OFF;' . $crlf
2218
+ );
2219
+ if (! $outputSucceeded) {
2220
+ return false;
2221
+ }
2222
+ }
2223
+
2224
+ $GLOBALS['dbi']->freeResult($result);
2225
+ return true;
2226
+ } // end of the 'exportData()' function
2227
+
2228
+ /**
2229
+ * Make a create table statement compatible with MSSQL
2230
+ *
2231
+ * @param string $create_query MySQL create table statement
2232
+ *
2233
+ * @return string MSSQL compatible create table statement
2234
+ */
2235
+ private function _makeCreateTableMSSQLCompatible($create_query)
2236
+ {
2237
+ // In MSSQL
2238
+ // 1. No 'IF NOT EXISTS' in CREATE TABLE
2239
+ // 2. DATE field doesn't exists, we will use DATETIME instead
2240
+ // 3. UNSIGNED attribute doesn't exist
2241
+ // 4. No length on INT, TINYINT, SMALLINT, BIGINT and no precision on
2242
+ // FLOAT fields
2243
+ // 5. No KEY and INDEX inside CREATE TABLE
2244
+ // 6. DOUBLE field doesn't exists, we will use FLOAT instead
2245
+
2246
+ $create_query = preg_replace(
2247
+ "/^CREATE TABLE IF NOT EXISTS/",
2248
+ 'CREATE TABLE',
2249
+ $create_query
2250
+ );
2251
+ // first we need to replace all lines ended with '" DATE ...,\n'
2252
+ // last preg_replace preserve us from situation with date text
2253
+ // inside DEFAULT field value
2254
+ $create_query = preg_replace(
2255
+ "/\" date DEFAULT NULL(,)?\n/",
2256
+ '" datetime DEFAULT NULL$1' . "\n",
2257
+ $create_query
2258
+ );
2259
+ $create_query = preg_replace(
2260
+ "/\" date NOT NULL(,)?\n/",
2261
+ '" datetime NOT NULL$1' . "\n",
2262
+ $create_query
2263
+ );
2264
+ $create_query = preg_replace(
2265
+ '/" date NOT NULL DEFAULT \'([^\'])/',
2266
+ '" datetime NOT NULL DEFAULT \'$1',
2267
+ $create_query
2268
+ );
2269
+
2270
+ // next we need to replace all lines ended with ') UNSIGNED ...,'
2271
+ // last preg_replace preserve us from situation with unsigned text
2272
+ // inside DEFAULT field value
2273
+ $create_query = preg_replace(
2274
+ "/\) unsigned NOT NULL(,)?\n/",
2275
+ ') NOT NULL$1' . "\n",
2276
+ $create_query
2277
+ );
2278
+ $create_query = preg_replace(
2279
+ "/\) unsigned DEFAULT NULL(,)?\n/",
2280
+ ') DEFAULT NULL$1' . "\n",
2281
+ $create_query
2282
+ );
2283
+ $create_query = preg_replace(
2284
+ '/\) unsigned NOT NULL DEFAULT \'([^\'])/',
2285
+ ') NOT NULL DEFAULT \'$1',
2286
+ $create_query
2287
+ );
2288
+
2289
+ // we need to replace all lines ended with
2290
+ // '" INT|TINYINT([0-9]{1,}) ...,' last preg_replace preserve us
2291
+ // from situation with int([0-9]{1,}) text inside DEFAULT field
2292
+ // value
2293
+ $create_query = preg_replace(
2294
+ '/" (int|tinyint|smallint|bigint)\([0-9]+\) DEFAULT NULL(,)?\n/',
2295
+ '" $1 DEFAULT NULL$2' . "\n",
2296
+ $create_query
2297
+ );
2298
+ $create_query = preg_replace(
2299
+ '/" (int|tinyint|smallint|bigint)\([0-9]+\) NOT NULL(,)?\n/',
2300
+ '" $1 NOT NULL$2' . "\n",
2301
+ $create_query
2302
+ );
2303
+ $create_query = preg_replace(
2304
+ '/" (int|tinyint|smallint|bigint)\([0-9]+\) NOT NULL DEFAULT \'([^\'])/',
2305
+ '" $1 NOT NULL DEFAULT \'$2',
2306
+ $create_query
2307
+ );
2308
+
2309
+ // we need to replace all lines ended with
2310
+ // '" FLOAT|DOUBLE([0-9,]{1,}) ...,'
2311
+ // last preg_replace preserve us from situation with
2312
+ // float([0-9,]{1,}) text inside DEFAULT field value
2313
+ $create_query = preg_replace(
2314
+ '/" (float|double)(\([0-9]+,[0-9,]+\))? DEFAULT NULL(,)?\n/',
2315
+ '" float DEFAULT NULL$3' . "\n",
2316
+ $create_query
2317
+ );
2318
+ $create_query = preg_replace(
2319
+ '/" (float|double)(\([0-9,]+,[0-9,]+\))? NOT NULL(,)?\n/',
2320
+ '" float NOT NULL$3' . "\n",
2321
+ $create_query
2322
+ );
2323
+ $create_query = preg_replace(
2324
+ '/" (float|double)(\([0-9,]+,[0-9,]+\))? NOT NULL DEFAULT \'([^\'])/',
2325
+ '" float NOT NULL DEFAULT \'$3',
2326
+ $create_query
2327
+ );
2328
+
2329
+ // @todo remove indexes from CREATE TABLE
2330
+
2331
+ return $create_query;
2332
+ }
2333
+
2334
+ /**
2335
+ * replaces db/table/column names with their aliases
2336
+ *
2337
+ * @param string $sql_query SQL query in which aliases are to be substituted
2338
+ * @param array $aliases Alias information for db/table/column
2339
+ * @param string $db the database name
2340
+ * @param string $table the tablename
2341
+ * @param string &$flag the flag denoting whether any replacement was done
2342
+ *
2343
+ * @return string query replaced with aliases
2344
+ */
2345
+ public function replaceWithAliases(
2346
+ $sql_query, $aliases, $db, $table = '', &$flag = null
2347
+ ) {
2348
+ $flag = false;
2349
+ // Return original sql query if no aliases are provided.
2350
+ if (!is_array($aliases) || empty($aliases) || empty($sql_query)) {
2351
+ return $sql_query;
2352
+ }
2353
+ $supported_query_types = array(
2354
+ 'CREATE' => true,
2355
+ );
2356
+ $supported_query_ons = array(
2357
+ 'TABLE' => true,
2358
+ 'VIEW' => true,
2359
+ 'TRIGGER' => true,
2360
+ 'FUNCTION' => true,
2361
+ 'PROCEDURE' => true
2362
+ );
2363
+ $identifier_types = array(
2364
+ 'alpha_identifier',
2365
+ 'quote_backtick'
2366
+ );
2367
+ $query_type = '';
2368
+ $query_on = '';
2369
+ // Adjustment value for each pos value
2370
+ // of token after replacement
2371
+ $offset = 0;
2372
+ $open_braces = 0;
2373
+ $in_create_table_fields = false;
2374
+ // flag to force end query parsing
2375
+ $query_end = false;
2376
+ // Convert all line feeds to Unix style
2377
+ $sql_query = str_replace("\r\n", "\n", $sql_query);
2378
+ $sql_query = str_replace("\r", "\n", $sql_query);
2379
+ $tokens = PMA_SQP_parse($sql_query);
2380
+ $ref_seen = false;
2381
+ $ref_table_seen = false;
2382
+ $old_table = $table;
2383
+ $on_seen = false;
2384
+ $size = $tokens['len'];
2385
+
2386
+ for ($i = 0; $i < $size && !$query_end; $i++) {
2387
+ $type = $tokens[$i]['type'];
2388
+ $data = $tokens[$i]['data'];
2389
+ $data_next = isset($tokens[$i+1]['data'])
2390
+ ? $tokens[$i+1]['data'] : '';
2391
+ $data_prev = ($i > 0) ? $tokens[$i-1]['data'] : '';
2392
+ $d_unq = PMA_Util::unQuote($data);
2393
+ $d_unq_next = PMA_Util::unQuote($data_next);
2394
+ $d_unq_prev = PMA_Util::unQuote($data_prev);
2395
+ $d_upper = /*overload*/mb_strtoupper($d_unq);
2396
+ $d_upper_next = /*overload*/mb_strtoupper($d_unq_next);
2397
+ $d_upper_prev = /*overload*/mb_strtoupper($d_unq_prev);
2398
+ $pos = $tokens[$i]['pos'] + $offset;
2399
+ if ($type === 'alpha_reservedWord') {
2400
+ if ($query_type === ''
2401
+ && !empty($supported_query_types[$d_upper])
2402
+ ) {
2403
+ $query_type = $d_upper;
2404
+ } elseif ($query_on === ''
2405
+ && !empty($supported_query_ons[$d_upper])
2406
+ ) {
2407
+ $query_on = $d_upper;
2408
+ }
2409
+ }
2410
+ // CREATE TABLE - Alias replacement
2411
+ if ($query_type === 'CREATE' && $query_on === 'TABLE') {
2412
+ // replace create table name
2413
+ if (!$in_create_table_fields
2414
+ && in_array($type, $identifier_types)
2415
+ && !empty($aliases[$db]['tables'][$table]['alias'])
2416
+ ) {
2417
+ $sql_query = $this->substituteAlias(
2418
+ $sql_query, $data,
2419
+ $aliases[$db]['tables'][$table]['alias'],
2420
+ $pos, $offset
2421
+ );
2422
+ $flag = true;
2423
+ } elseif ($type === 'punct_bracket_open_round') {
2424
+ // CREATE TABLE fields started
2425
+ if (!$in_create_table_fields) {
2426
+ $in_create_table_fields = true;
2427
+ }
2428
+ $open_braces++;
2429
+ } elseif ($type === 'punct_bracket_close_round') {
2430
+ // end our parsing after last )
2431
+ // no columns appear after that
2432
+ if ($in_create_table_fields && $open_braces === 0) {
2433
+ $query_end = true;
2434
+ }
2435
+ // End of Foreign key reference
2436
+ if ($ref_seen) {
2437
+ $ref_seen = $ref_table_seen = false;
2438
+ $table = $old_table;
2439
+ }
2440
+ $open_braces--;
2441
+ // handles Foreign key references
2442
+ } elseif ($type === 'alpha_reservedWord'
2443
+ && $d_upper === 'REFERENCES'
2444
+ ) {
2445
+ $ref_seen = true;
2446
+ } elseif (in_array($type, $identifier_types)
2447
+ && $ref_seen === true && !$ref_table_seen
2448
+ ) {
2449
+ $table = $d_unq;
2450
+ $ref_table_seen = true;
2451
+ if (!empty($aliases[$db]['tables'][$table]['alias'])) {
2452
+ $sql_query = $this->substituteAlias(
2453
+ $sql_query, $data,
2454
+ $aliases[$db]['tables'][$table]['alias'],
2455
+ $pos, $offset
2456
+ );
2457
+ $flag = true;
2458
+ }
2459
+ // Replace column names
2460
+ } elseif (in_array($type, $identifier_types)
2461
+ && !empty($aliases[$db]['tables'][$table]['columns'][$d_unq])
2462
+ ) {
2463
+ $sql_query = $this->substituteAlias(
2464
+ $sql_query, $data,
2465
+ $aliases[$db]['tables'][$table]['columns'][$d_unq],
2466
+ $pos, $offset
2467
+ );
2468
+ $flag = true;
2469
+ }
2470
+ // CREATE TRIGGER - Alias replacement
2471
+ } elseif ($query_type === 'CREATE' && $query_on === 'TRIGGER') {
2472
+ // Skip till 'ON' in encountered
2473
+ if (!$on_seen && $type === 'alpha_reservedWord'
2474
+ && $d_upper === 'ON'
2475
+ ) {
2476
+ $on_seen = true;
2477
+ } elseif ($on_seen && in_array($type, $identifier_types)) {
2478
+ if (!$ref_table_seen
2479
+ && !empty($aliases[$db]['tables'][$d_unq]['alias'])
2480
+ ) {
2481
+ $ref_table_seen = true;
2482
+ $sql_query = $this->substituteAlias(
2483
+ $sql_query, $data,
2484
+ $aliases[$db]['tables'][$d_unq]['alias'],
2485
+ $pos, $offset
2486
+ );
2487
+ $flag = true;
2488
+ } else {
2489
+ // search for identifier alias
2490
+ $alias = $this->getAlias($aliases, $d_unq);
2491
+ if (!empty($alias)) {
2492
+ $sql_query = $this->substituteAlias(
2493
+ $sql_query, $data, $alias, $pos, $offset
2494
+ );
2495
+ $flag = true;
2496
+ }
2497
+ }
2498
+ }
2499
+ // CREATE PROCEDURE|FUNCTION|VIEW - Alias replacement
2500
+ } elseif ($query_type === 'CREATE'
2501
+ && ($query_on === 'FUNCTION'
2502
+ || $query_on === 'PROCEDURE'
2503
+ || $query_on === 'VIEW')
2504
+ ) {
2505
+ // LANGUAGE SQL | (READS|MODIFIES) SQL DATA
2506
+ // characteristics are skipped
2507
+ if ($type === 'alpha_identifier'
2508
+ && (($d_upper === 'LANGUAGE' && $d_upper_next === 'SQL')
2509
+ || ($d_upper === 'DATA' && $d_upper_prev === 'SQL'))
2510
+ ) {
2511
+ continue;
2512
+ // No need to process further in case of VIEW
2513
+ // when 'WITH' keyword has been detected
2514
+ } elseif ($query_on === 'VIEW'
2515
+ && $type === 'alpha_reservedWord' && $d_upper === 'WITH'
2516
+ ) {
2517
+ $query_end = true;
2518
+ } elseif (in_array($type, $identifier_types)) {
2519
+ // search for identifier alias
2520
+ $alias = $this->getAlias($aliases, $d_unq);
2521
+ if (!empty($alias)) {
2522
+ $sql_query = $this->substituteAlias(
2523
+ $sql_query, $data, $alias, $pos, $offset
2524
+ );
2525
+ $flag = true;
2526
+ };
2527
+ }
2528
+ }
2529
+ }
2530
+ return $sql_query;
2531
+ }
2532
+
2533
+ /**
2534
+ * substitutes alias in query at given position
2535
+ * Note: pos is the value from PMA_SQP_parse() + offset
2536
+ *
2537
+ * @param string $sql_query the SQL query
2538
+ * @param string $data the data to be replaced
2539
+ * @param string $alias the replacement
2540
+ * @param string $pos the position of alias
2541
+ * @param string &$offset the change in pos occurred after substitution
2542
+ *
2543
+ * @return string replaced query with alias
2544
+ */
2545
+ public function substituteAlias($sql_query, $data, $alias, $pos, &$offset = null)
2546
+ {
2547
+ if (!empty($GLOBALS['sql_backquotes'])) {
2548
+ $alias = PMA_Util::backquote($alias);
2549
+ }
2550
+ $alias_len = /*overload*/mb_strlen($alias);
2551
+ $data_len = /*overload*/mb_strlen($data);
2552
+ if (isset($offset)) {
2553
+ $offset += ($alias_len - $data_len);
2554
+ }
2555
+ $sql_query = substr_replace(
2556
+ $sql_query, $alias, $pos - $data_len, $data_len
2557
+ );
2558
+ return $sql_query;
2559
+ }
2560
+
2561
+ /**
2562
+ * Generate comment
2563
+ *
2564
+ * @param string $crlf Carriage return character
2565
+ * @param string $sql_statement SQL statement
2566
+ * @param string $comment1 Comment for dumped table
2567
+ * @param string $comment2 Comment for current table
2568
+ * @param string $table_alias Table alias
2569
+ * @param string $compat Compatibility mode
2570
+ *
2571
+ * @return string
2572
+ */
2573
+ protected function generateComment(
2574
+ $crlf, $sql_statement, $comment1, $comment2, $table_alias, $compat
2575
+ ) {
2576
+ if (!isset($sql_statement)) {
2577
+ if (isset($GLOBALS['no_constraints_comments'])) {
2578
+ $sql_statement = '';
2579
+ } else {
2580
+ $sql_statement = $crlf
2581
+ . $this->_exportComment()
2582
+ . $this->_exportComment($comment1)
2583
+ . $this->_exportComment();
2584
+ }
2585
+ }
2586
+
2587
+ // comments for current table
2588
+ if (!isset($GLOBALS['no_constraints_comments'])) {
2589
+ $sql_statement .= $crlf
2590
+ . $this->_exportComment()
2591
+ . $this->_exportComment(
2592
+ $comment2 . ' ' . PMA_Util::backquoteCompat(
2593
+ $table_alias, $compat, isset($GLOBALS['sql_backquotes'])
2594
+ )
2595
+ )
2596
+ . $this->_exportComment();
2597
+ }
2598
+
2599
+ return $sql_statement;
2600
+ }
2601
+ }