Michal Čihař
159e748a2b
Simplify getting table create options
...
- use saner method name (getCreateOptions)
- fix error case
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
a51ac4ef8b
Simplify getting row format
...
- remove not needed word Table from method name
- fix code to handle errors
- convert existing users of getStatusInfo('ROW_FORMAT') to this method
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
ca9ea74d20
Simplify getting table rows
...
- simplify method name
- fix code handling error path
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
44d3cb3869
Simplify getting table collation
...
- remove not needed word Table from method name
- fix code to handle errors
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
b2bf9fba87
Simplify getting table comment
...
- remove not needed word Show from method name
- fix code to handle errors
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
56046cc7e2
Simplify getting storage engine
...
- remove not needed word Table from method name
- fix code to handle errors
- convert existing users of getStatusInfo('ENGINE') to this method
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:56:08 +01:00
Michal Čihař
9f2773c9c2
Simplify rereading of information
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2017-03-20 17:55:38 +01:00
Vishal Pandey
5da44ce1a6
Move the tbl_info.inc.php code to Table class
...
Fixes #12567
Signed-off-by: flash1452 <vishpandey2014@gmail.com>
2017-03-20 17:55:21 +01:00
Cristiano Lancelotti
5781a009e0
show-hide-chart-slice
...
Signed-off-by: Cristiano Lancelotti <lancelot.info@gmail.com>
2017-02-04 06:36:05 -02:00
Michal Čihař
4befa5c4fc
Fix object name
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-21 19:01:01 +01:00
Michal Čihař
616d216fd1
Simplify checks for Ajax request
...
Use isAjax method instead of doing the check separately.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-12-07 18:23:52 +01:00
Michal Čihař
3546bed47e
Avoid using mb_strlen for checking whether string is empty
...
Using strlen produces same results here, just way faster.
Fixes #12397
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-09-16 10:29:21 +02:00
Michal Čihař
a37273c5ba
Initialize array variables
...
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-05 11:07:51 +01:00
Michal Čihař
55b317c699
Remove /*overload*/ prefix from mb_* calls
...
I believe this was temporary flagging to see which code is migrated and
can be safely removed now.
Signed-off-by: Michal Čihař <michal@cihar.com>
2016-01-04 16:35:28 +01:00
Hugues Peccatte
6f4676cdfc
Merge remote-tracking branch 'origin/master' into useNamespaces_master
2015-10-04 18:04:49 +02:00
Hugues Peccatte
49e9dd1f13
Fix wrong rename.
...
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 22:20:00 +02:00
Hugues Peccatte
5207ba43a7
Update controllers' namespace.
...
Move table controllers into 'table' folder.
Signed-off-by: Hugues Peccatte <hugues.peccatte@gmail.com>
2015-09-01 21:56:14 +02:00