Supun Nakandala: GSOC week 4

This week I was able to refactor the code area in sql.php which is responsible for displaying results when the executed query returns non empty results. The new methods that I extracted from sql.php and transferred to the sql.lib.php are

  1. PMA_getTableHtmlForMultipleQueries
  2. PMA_getHtmlForPrintViewHeader
  3. PMA_getHtmlForBookmark
  4. PMA_sendResponseForGridEdit
  5. PMA_getBookmarkCreatedMessage
  6. PMA_getHtmlForSqlQueryResultsTable
  7. PMA_getHtmlForPreviousUpdateQuery
  8. PMA_getMessageIfMissingColumnIndex
  9. PMA_getMessageIfMissingColumnIndex
  10. PMA_getHtmlForPrintButton

Also I was able to transfer the check for MySQL keyword "CALL" from sql.php to the sql parser.

The pull requests relating to the past week's work are

  1. https://github.com/phpmyadmin/phpmyadmin/pull/488
  2. https://github.com/phpmyadmin/phpmyadmin/pull/503
    link
Posted by SourceForge Robot 2013-07-15