CheckStatement.php 911 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <?php
  2. /**
  3. * `CHECK` statement.
  4. *
  5. * @package SqlParser
  6. * @subpackage Statements
  7. */
  8. namespace SqlParser\Statements;
  9. /**
  10. * `CHECK` statement.
  11. *
  12. * CHECK TABLE tbl_name [, tbl_name] ... [option] ...
  13. *
  14. * @category Statements
  15. * @package SqlParser
  16. * @subpackage Statements
  17. * @author Dan Ungureanu <udan1107@gmail.com>
  18. * @license http://opensource.org/licenses/GPL-2.0 GNU Public License
  19. */
  20. class CheckStatement extends MaintenanceStatement
  21. {
  22. /**
  23. * Options of this statement.
  24. *
  25. * @var array
  26. */
  27. public static $OPTIONS = array(
  28. 'TABLE' => 1,
  29. 'FOR UPGRADE' => 2,
  30. 'QUICK' => 3,
  31. 'FAST' => 4,
  32. 'MEDIUM' => 5,
  33. 'EXTENDED' => 6,
  34. 'CHANGED' => 7,
  35. );
  36. }