2024.8.23
|
Public Member Functions | |
__construct ($args) | |
Class ActionDebugMariadb
This class handles debugging actions for MariaDB within the Bearsampp application. It processes command-line arguments to determine the type of debugging action to perform, retrieves the corresponding output from MariaDB, and displays it using the appropriate method.
Definition at line 17 of file class.action.debugMariadb.php.
ActionDebugMariadb::__construct | ( | $args | ) |
ActionDebugMariadb constructor.
array | $args | Command-line arguments specifying the debugging action to perform. |
This constructor initializes the debugging process for MariaDB based on the provided arguments. It supports three types of debugging actions: version check, variables display, and syntax check. The output of the debugging action is displayed either in an editor or a message box.
Definition at line 28 of file class.action.debugMariadb.php.
References $bearsamppBins, $bearsamppLang, BinMariadb\CMD_SYNTAX_CHECK, BinMariadb\CMD_VARIABLES, BinMariadb\CMD_VERSION, Lang\DEBUG, Lang\DEBUG_MARIADB_SYNTAX_CHECK, Lang\DEBUG_MARIADB_VARIABLES, Lang\DEBUG_MARIADB_VERSION, Lang\MARIADB, and Util\openFileContent().