Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid - Version 1.12.4

Version Description

Release date: January 10th, 2019

  • Bug fix: Escape table prefix when getting tables.
  • Bug fix: Include views when dumping the database.
Download this release

Release Info

Developer boldgrid
Plugin Icon 128x128 Total Upkeep – WordPress Backup Plugin plus Restore & Migrate by BoldGrid
Version 1.12.4
Comparing to
See all releases

Code changes from version 1.12.3 to 1.12.4

admin/class-boldgrid-backup-admin-db-dump.php CHANGED
@@ -54,6 +54,18 @@ class Boldgrid_Backup_Admin_Db_Dump {
54
  return array( 'error' => esc_html__( 'No tables selected to backup.', 'boldgrid-backup' ) );
55
  }
56
 
 
 
 
 
 
 
 
 
 
 
 
 
57
  Boldgrid_Backup_Admin_In_Progress_Data::set_args(
58
  array(
59
  'status' => __( 'Backing up database...', 'boldgrid-backup' ),
@@ -79,6 +91,7 @@ class Boldgrid_Backup_Admin_Db_Dump {
79
  DB_PASSWORD,
80
  array(
81
  'include-tables' => $include_tables,
 
82
  'add-drop-table' => true,
83
  'no-autocommit' => false,
84
  )
54
  return array( 'error' => esc_html__( 'No tables selected to backup.', 'boldgrid-backup' ) );
55
  }
56
 
57
+ /*
58
+ * Create separate arrays for the "tables" and "views" that we want to dump.
59
+ *
60
+ * When dumping our database, we need to send a separate list of tables to dump, and a separate
61
+ * one for views to dump. $include_tables is an array possibly containing both tables and views,
62
+ * so we'll split it up now.
63
+ *
64
+ * In the list below, it is important that $include_tables is processed last.
65
+ */
66
+ $include_views = $this->core->db_get->filter_by_type( $include_tables, 'VIEW' );
67
+ $include_tables = $this->core->db_get->filter_by_type( $include_tables, 'BASE TABLE' );
68
+
69
  Boldgrid_Backup_Admin_In_Progress_Data::set_args(
70
  array(
71
  'status' => __( 'Backing up database...', 'boldgrid-backup' ),
91
  DB_PASSWORD,
92
  array(
93
  'include-tables' => $include_tables,
94
+ 'include-views' => $include_views,
95
  'add-drop-table' => true,
96
  'no-autocommit' => false,
97
  )
admin/class-boldgrid-backup-admin-db-get.php CHANGED
@@ -40,6 +40,78 @@ class Boldgrid_Backup_Admin_Db_Get {
40
  $this->core = $core;
41
  }
42
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
43
  /**
44
  * Get a list of all tables based on system prefix.
45
  *
@@ -55,7 +127,10 @@ class Boldgrid_Backup_Admin_Db_Get {
55
  $prefix_tables = array();
56
 
57
  $results = $wpdb->get_results(
58
- "SHOW TABLES LIKE '{$wpdb->prefix}%';",
 
 
 
59
  ARRAY_N
60
  );
61
 
40
  $this->core = $core;
41
  }
42
 
43
+ /**
44
+ * Get an array of all tables by table type.
45
+ *
46
+ * Types must be either "BASE TABLE" or "VIEW".
47
+ *
48
+ * This method does not filter the list of tables based on prefix.
49
+ *
50
+ * @since 1.12.4
51
+ *
52
+ * @param string $type The table type to get.
53
+ * @return array
54
+ */
55
+ public function get_by_type( $type ) {
56
+ global $wpdb;
57
+
58
+ $tables = [];
59
+
60
+ // Validate our table type.
61
+ $types = [ 'BASE TABLE', 'VIEW' ];
62
+ if ( ! in_array( $type, $types, true ) ) {
63
+ return [];
64
+ }
65
+
66
+ /*
67
+ * Get our list of tables by type.
68
+ *
69
+ * $results will be an array of arrays, with the latter arrays containing [0] table name and
70
+ * [1] table type.
71
+ */
72
+ $results = $wpdb->get_results(
73
+ $wpdb->prepare(
74
+ 'SHOW FULL TABLES WHERE TABLE_TYPE = %s;',
75
+ $type
76
+ ),
77
+ ARRAY_N
78
+ );
79
+
80
+ // Convert results to an array of table names (rather than an array of arrays).
81
+ foreach ( $results as $result ) {
82
+ $tables[] = $result[0];
83
+ }
84
+
85
+ return $tables;
86
+ }
87
+
88
+ /**
89
+ * Filter an array of table names by table type.
90
+ *
91
+ * For example, pass in an array of tables that include both "tables" and "views", and this method
92
+ * allows you get back only those that match $type.
93
+ *
94
+ * @since 1.12.4
95
+ *
96
+ * @param array $tables An array of table names.
97
+ * @param string $type A table type, such as "BASE TABLE" or "VIEW".
98
+ * @return array
99
+ */
100
+ public function filter_by_type( $tables, $type ) {
101
+ // The filtered list of tables that we will return.
102
+ $tables_by_type = [];
103
+
104
+ $all_of_type = $this->get_by_type( $type );
105
+
106
+ foreach ( $tables as $table ) {
107
+ if ( in_array( $table, $all_of_type, true ) ) {
108
+ $tables_by_type[] = $table;
109
+ }
110
+ }
111
+
112
+ return $tables_by_type;
113
+ }
114
+
115
  /**
116
  * Get a list of all tables based on system prefix.
117
  *
127
  $prefix_tables = array();
128
 
129
  $results = $wpdb->get_results(
130
+ $wpdb->prepare(
131
+ 'SHOW TABLES LIKE %s;',
132
+ $wpdb->esc_like( $wpdb->prefix ) . '%'
133
+ ),
134
  ARRAY_N
135
  );
136
 
boldgrid-backup.php CHANGED
@@ -16,7 +16,7 @@
16
  * Plugin Name: Total Upkeep
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
19
- * Version: 1.12.3
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
16
  * Plugin Name: Total Upkeep
17
  * Plugin URI: https://www.boldgrid.com/boldgrid-backup/
18
  * Description: Automated backups, remote backup to Amazon S3 and Google Drive, stop website crashes before they happen and more. Total Upkeep is the backup solution you need.
19
+ * Version: 1.12.4
20
  * Author: BoldGrid
21
  * Author URI: https://www.boldgrid.com/
22
  * License: GPL-2.0+
coverage.xml CHANGED
@@ -1,6 +1,6 @@
1
  <?xml version="1.0" encoding="UTF-8"?>
2
- <coverage generated="1576782444">
3
- <project timestamp="1576782444">
4
  <package name="Boldgrid\Backup\Admin\Card">
5
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-backups.php">
6
  <class name="Backups" namespace="Boldgrid\Backup\Admin\Card">
@@ -2350,8 +2350,8 @@
2350
  <line num="713" type="stmt" count="1"/>
2351
  <line num="715" type="stmt" count="1"/>
2352
  <line num="717" type="stmt" count="1"/>
2353
- <line num="729" type="method" name="get_core" visibility="public" complexity="1" crap="1" count="6"/>
2354
- <line num="730" type="stmt" count="6"/>
2355
  <line num="740" type="method" name="init_premium" visibility="public" complexity="5" crap="30" count="0"/>
2356
  <line num="741" type="stmt" count="0"/>
2357
  <line num="743" type="stmt" count="0"/>
@@ -2853,7 +2853,7 @@
2853
  <line num="1835" type="stmt" count="4"/>
2854
  <line num="1836" type="stmt" count="0"/>
2855
  <line num="1838" type="stmt" count="4"/>
2856
- <line num="1839" type="stmt" count="1"/>
2857
  <line num="1842" type="stmt" count="4"/>
2858
  <line num="1843" type="stmt" count="3"/>
2859
  <line num="1846" type="stmt" count="4"/>
@@ -4007,105 +4007,135 @@
4007
  </file>
4008
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-dump.php">
4009
  <class name="Boldgrid_Backup_Admin_Db_Dump" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
4010
- <metrics complexity="13" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="64" coveredstatements="23" elements="68" coveredelements="24"/>
4011
  </class>
4012
  <line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
4013
  <line num="40" type="stmt" count="17"/>
4014
  <line num="41" type="stmt" count="17"/>
4015
- <line num="51" type="method" name="dump" visibility="public" complexity="3" crap="3.01" count="3"/>
4016
  <line num="52" type="stmt" count="3"/>
4017
  <line num="53" type="stmt" count="3"/>
4018
  <line num="54" type="stmt" count="0"/>
4019
- <line num="57" type="stmt" count="3"/>
4020
- <line num="59" type="stmt" count="3"/>
4021
- <line num="60" type="stmt" count="3"/>
4022
- <line num="61" type="stmt" count="3"/>
4023
- <line num="63" type="stmt" count="3"/>
4024
- <line num="70" type="stmt" count="3"/>
4025
  <line num="73" type="stmt" count="3"/>
4026
- <line num="76" type="stmt" count="3"/>
4027
- <line num="77" type="stmt" count="3"/>
4028
- <line num="78" type="stmt" count="3"/>
4029
- <line num="79" type="stmt" count="3"/>
4030
- <line num="81" type="stmt" count="3"/>
4031
  <line num="82" type="stmt" count="3"/>
4032
- <line num="83" type="stmt" count="3"/>
4033
  <line num="85" type="stmt" count="3"/>
4034
- <line num="86" type="stmt" count="3"/>
4035
- <line num="87" type="stmt" count="3"/>
4036
- <line num="88" type="stmt" count="0"/>
 
 
 
 
4037
  <line num="96" type="stmt" count="3"/>
4038
  <line num="98" type="stmt" count="3"/>
4039
- <line num="110" type="method" name="get_insert_count" visibility="public" complexity="7" crap="56" count="0"/>
4040
- <line num="111" type="stmt" count="0"/>
4041
- <line num="112" type="stmt" count="0"/>
4042
- <line num="114" type="stmt" count="0"/>
4043
- <line num="116" type="stmt" count="0"/>
4044
- <line num="119" type="stmt" count="0"/>
4045
- <line num="120" type="stmt" count="0"/>
4046
- <line num="121" type="stmt" count="0"/>
4047
- <line num="123" type="stmt" count="0"/>
4048
- <line num="126" type="stmt" count="0"/>
 
4049
  <line num="133" type="stmt" count="0"/>
4050
  <line num="134" type="stmt" count="0"/>
4051
  <line num="136" type="stmt" count="0"/>
4052
- <line num="137" type="stmt" count="0"/>
4053
- <line num="138" type="stmt" count="0"/>
4054
- <line num="141" type="stmt" count="0"/>
4055
- <line num="143" type="stmt" count="0"/>
4056
- <line num="158" type="stmt" count="0"/>
4057
- <line num="159" type="stmt" count="0"/>
4058
- <line num="160" type="stmt" count="0"/>
4059
- <line num="162" type="stmt" count="0"/>
4060
- <line num="163" type="stmt" count="0"/>
4061
- <line num="164" type="stmt" count="0"/>
4062
- <line num="165" type="stmt" count="0"/>
4063
- <line num="166" type="stmt" count="0"/>
4064
- <line num="168" type="stmt" count="0"/>
4065
- <line num="169" type="stmt" count="0"/>
4066
  <line num="171" type="stmt" count="0"/>
4067
  <line num="172" type="stmt" count="0"/>
4068
- <line num="174" type="stmt" count="0"/>
4069
- <line num="186" type="method" name="get_insert_tables" visibility="public" complexity="2" crap="6" count="0"/>
 
 
 
 
 
 
 
 
4070
  <line num="187" type="stmt" count="0"/>
4071
- <line num="188" type="stmt" count="0"/>
4072
- <line num="203" type="stmt" count="0"/>
4073
- <line num="204" type="stmt" count="0"/>
4074
- <line num="205" type="stmt" count="0"/>
4075
- <line num="206" type="stmt" count="0"/>
4076
- <line num="207" type="stmt" count="0"/>
4077
- <line num="208" type="stmt" count="0"/>
4078
- <line num="211" type="stmt" count="0"/>
4079
- <line num="213" type="stmt" count="0"/>
4080
- <metrics loc="215" ncloc="105" classes="1" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="64" coveredstatements="23" elements="68" coveredelements="24"/>
 
 
4081
  </file>
4082
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-get.php">
4083
  <class name="Boldgrid_Backup_Admin_Db_Get" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
4084
- <metrics complexity="5" methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="19" coveredstatements="11" elements="22" coveredelements="13"/>
4085
  </class>
4086
  <line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
4087
  <line num="40" type="stmt" count="17"/>
4088
  <line num="41" type="stmt" count="17"/>
4089
- <line num="52" type="method" name="prefixed" visibility="public" complexity="2" crap="2" count="3"/>
4090
- <line num="53" type="stmt" count="3"/>
4091
- <line num="55" type="stmt" count="3"/>
4092
- <line num="57" type="stmt" count="3"/>
4093
- <line num="58" type="stmt" count="3"/>
4094
- <line num="60" type="stmt" count="3"/>
4095
- <line num="62" type="stmt" count="3"/>
4096
- <line num="63" type="stmt" count="3"/>
4097
- <line num="64" type="stmt" count="3"/>
4098
- <line num="66" type="stmt" count="3"/>
4099
- <line num="81" type="method" name="prefixed_count" visibility="public" complexity="2" crap="6" count="0"/>
4100
- <line num="82" type="stmt" count="0"/>
4101
- <line num="84" type="stmt" count="0"/>
4102
- <line num="86" type="stmt" count="0"/>
4103
- <line num="88" type="stmt" count="0"/>
4104
- <line num="89" type="stmt" count="0"/>
4105
- <line num="91" type="stmt" count="0"/>
4106
- <line num="92" type="stmt" count="0"/>
4107
- <line num="94" type="stmt" count="0"/>
4108
- <metrics loc="96" ncloc="40" classes="1" methods="3" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="19" coveredstatements="11" elements="22" coveredelements="13"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
4109
  </file>
4110
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-import.php">
4111
  <class name="Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
@@ -67604,7 +67634,7 @@
67604
  </file>
67605
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-core.php">
67606
  <class name="Test_Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
67607
- <metrics complexity="22" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="100" coveredstatements="100" elements="109" coveredelements="109"/>
67608
  </class>
67609
  <line num="41" type="method" name="assertDirNotEmpty" visibility="public" complexity="5" crap="5" count="1"/>
67610
  <line num="42" type="stmt" count="1"/>
@@ -67620,102 +67650,116 @@
67620
  <line num="54" type="stmt" count="1"/>
67621
  <line num="66" type="stmt" count="1"/>
67622
  <line num="67" type="stmt" count="1"/>
67623
- <line num="102" type="method" name="dropTable" visibility="public" complexity="1" crap="1" count="2"/>
67624
- <line num="103" type="stmt" count="2"/>
67625
- <line num="105" type="stmt" count="2"/>
67626
- <line num="106" type="stmt" count="2"/>
67627
- <line num="116" type="method" name="createWpconfig" visibility="public" complexity="1" crap="1" count="1"/>
67628
- <line num="118" type="stmt" count="1"/>
67629
- <line num="119" type="stmt" count="1"/>
67630
- <line num="120" type="stmt" count="1"/>
67631
- <line num="121" type="stmt" count="1"/>
67632
- <line num="122" type="stmt" count="1"/>
67633
- <line num="124" type="stmt" count="1"/>
67634
  <line num="126" type="stmt" count="1"/>
67635
  <line num="127" type="stmt" count="1"/>
67636
- <line num="140" type="method" name="deleteBasic" visibility="public" complexity="7" crap="7" count="2"/>
67637
- <line num="142" type="stmt" count="2"/>
67638
- <line num="143" type="stmt" count="2"/>
67639
- <line num="144" type="stmt" count="2"/>
67640
- <line num="145" type="stmt" count="2"/>
67641
- <line num="148" type="stmt" count="2"/>
 
67642
  <line num="149" type="stmt" count="2"/>
67643
- <line num="150" type="stmt" count="2"/>
67644
  <line num="153" type="stmt" count="2"/>
67645
  <line num="154" type="stmt" count="2"/>
67646
  <line num="155" type="stmt" count="2"/>
67647
- <line num="156" type="stmt" count="2"/>
67648
- <line num="157" type="stmt" count="2"/>
67649
  <line num="158" type="stmt" count="2"/>
 
67650
  <line num="160" type="stmt" count="2"/>
67651
- <line num="161" type="stmt" count="2"/>
67652
- <line num="162" type="stmt" count="2"/>
67653
  <line num="164" type="stmt" count="2"/>
 
67654
  <line num="166" type="stmt" count="2"/>
67655
  <line num="167" type="stmt" count="2"/>
67656
  <line num="168" type="stmt" count="2"/>
67657
- <line num="169" type="stmt" count="2"/>
67658
  <line num="170" type="stmt" count="2"/>
67659
  <line num="171" type="stmt" count="2"/>
67660
  <line num="172" type="stmt" count="2"/>
67661
- <line num="173" type="stmt" count="2"/>
67662
- <line num="175" type="stmt" count="2"/>
67663
  <line num="176" type="stmt" count="2"/>
67664
  <line num="177" type="stmt" count="2"/>
67665
  <line num="178" type="stmt" count="2"/>
67666
- <line num="179" type="stmt" count="2"/>
67667
  <line num="181" type="stmt" count="2"/>
67668
- <line num="190" type="method" name="getTables" visibility="public" complexity="2" crap="2" count="2"/>
67669
- <line num="191" type="stmt" count="2"/>
 
 
 
 
 
 
 
67670
  <line num="193" type="stmt" count="2"/>
 
67671
  <line num="195" type="stmt" count="2"/>
67672
- <line num="197" type="stmt" count="2"/>
67673
  <line num="199" type="stmt" count="2"/>
67674
- <line num="200" type="stmt" count="2"/>
67675
- <line num="202" type="stmt" count="2"/>
67676
  <line num="203" type="stmt" count="2"/>
67677
- <line num="205" type="stmt" count="2"/>
67678
- <line num="213" type="method" name="setUp" visibility="public" complexity="1" crap="1" count="3"/>
67679
- <line num="214" type="stmt" count="3"/>
67680
- <line num="216" type="stmt" count="3"/>
67681
- <line num="217" type="stmt" count="3"/>
67682
- <line num="224" type="method" name="test_archive_files" visibility="public" complexity="1" crap="1" count="1"/>
67683
- <line num="226" type="stmt" count="1"/>
67684
- <line num="227" type="stmt" count="1"/>
67685
- <line num="234" type="stmt" count="1"/>
67686
- <line num="237" type="stmt" count="1"/>
67687
- <line num="240" type="stmt" count="1"/>
67688
- <line num="243" type="stmt" count="1"/>
67689
- <line num="244" type="stmt" count="1"/>
67690
- <line num="245" type="stmt" count="1"/>
67691
- <line num="246" type="stmt" count="1"/>
67692
- <line num="249" type="stmt" count="1"/>
67693
- <line num="250" type="stmt" count="1"/>
67694
  <line num="251" type="stmt" count="1"/>
67695
- <line num="258" type="method" name="test_restore_archive_file" visibility="public" complexity="2" crap="2" count="1"/>
67696
- <line num="266" type="stmt" count="1"/>
67697
- <line num="267" type="stmt" count="1"/>
67698
  <line num="268" type="stmt" count="1"/>
 
67699
  <line num="270" type="stmt" count="1"/>
 
67700
  <line num="273" type="stmt" count="1"/>
67701
- <line num="274" type="stmt" count="1"/>
67702
- <line num="275" type="stmt" count="1"/>
67703
- <line num="277" type="stmt" count="1"/>
67704
  <line num="279" type="stmt" count="1"/>
67705
- <line num="280" type="stmt" count="1"/>
67706
- <line num="290" type="method" name="test_restore_cli" visibility="public" complexity="2" crap="2" count="1"/>
67707
- <line num="291" type="stmt" count="1"/>
67708
- <line num="293" type="stmt" count="1"/>
67709
- <line num="294" type="stmt" count="1"/>
67710
- <line num="295" type="stmt" count="1"/>
67711
- <line num="297" type="stmt" count="1"/>
67712
- <line num="300" type="stmt" count="1"/>
67713
- <line num="301" type="stmt" count="1"/>
67714
- <line num="302" type="stmt" count="1"/>
67715
  <line num="305" type="stmt" count="1"/>
 
67716
  <line num="307" type="stmt" count="1"/>
67717
- <line num="308" type="stmt" count="1"/>
67718
- <metrics loc="309" ncloc="151" classes="1" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="100" coveredstatements="100" elements="109" coveredelements="109"/>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67719
  </file>
67720
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-cron.php">
67721
  <class name="Test_Boldgrid_Backup_Admin_Cron" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
@@ -67910,6 +67954,49 @@
67910
  <line num="87" type="stmt" count="1"/>
67911
  <metrics loc="88" ncloc="47" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="37" coveredstatements="28" elements="39" coveredelements="29"/>
67912
  </file>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
67913
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-test.php">
67914
  <class name="Test_Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
67915
  <metrics complexity="2" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="8" elements="10" coveredelements="10"/>
@@ -72954,7 +73041,7 @@
72954
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
72955
  </file>
72956
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
72957
- <class name="ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35" namespace="Composer\Autoload">
72958
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
72959
  </class>
72960
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
@@ -73046,7 +73133,7 @@
73046
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
73047
  </file>
73048
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
73049
- <class name="ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35" namespace="global">
73050
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
73051
  </class>
73052
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
@@ -73103,7 +73190,7 @@
73103
  <package name="Ifsnop\Mysqldump">
73104
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/ifsnop/mysqldump-php/src/Ifsnop/Mysqldump/Mysqldump.php">
73105
  <class name="Mysqldump" namespace="Ifsnop\Mysqldump" category="Library">
73106
- <metrics complexity="105" methods="28" coveredmethods="5" conditionals="0" coveredconditionals="0" statements="352" coveredstatements="251" elements="380" coveredelements="256"/>
73107
  </class>
73108
  <class name="CompressMethod" namespace="Ifsnop\Mysqldump">
73109
  <metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="1" elements="2" coveredelements="2"/>
@@ -73141,7 +73228,7 @@
73141
  <class name="TypeAdapterMysql" namespace="Ifsnop\Mysqldump">
73142
  <metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="0" elements="12" coveredelements="0"/>
73143
  </class>
73144
- <line num="125" type="method" name="__construct" visibility="public" complexity="6" crap="6" count="3"/>
73145
  <line num="133" type="stmt" count="3"/>
73146
  <line num="134" type="stmt" count="3"/>
73147
  <line num="135" type="stmt" count="3"/>
@@ -73172,196 +73259,196 @@
73172
  <line num="160" type="stmt" count="3"/>
73173
  <line num="161" type="stmt" count="3"/>
73174
  <line num="162" type="stmt" count="3"/>
73175
- <line num="165" type="stmt" count="3"/>
73176
- <line num="168" type="stmt" count="3"/>
73177
  <line num="169" type="stmt" count="3"/>
73178
  <line num="170" type="stmt" count="3"/>
73179
- <line num="172" type="stmt" count="3"/>
73180
  <line num="173" type="stmt" count="3"/>
73181
  <line num="174" type="stmt" count="3"/>
73182
- <line num="177" type="stmt" count="3"/>
73183
  <line num="178" type="stmt" count="3"/>
73184
  <line num="179" type="stmt" count="3"/>
73185
- <line num="181" type="stmt" count="3"/>
73186
  <line num="182" type="stmt" count="3"/>
73187
  <line num="183" type="stmt" count="3"/>
73188
- <line num="185" type="stmt" count="3"/>
73189
  <line num="186" type="stmt" count="3"/>
73190
  <line num="187" type="stmt" count="3"/>
73191
- <line num="189" type="stmt" count="3"/>
73192
  <line num="190" type="stmt" count="3"/>
73193
- <line num="191" type="stmt" count="0"/>
73194
- <line num="194" type="stmt" count="3"/>
73195
  <line num="195" type="stmt" count="3"/>
73196
- <line num="196" type="stmt" count="0"/>
73197
- <line num="200" type="stmt" count="3"/>
73198
- <line num="203" type="stmt" count="3"/>
73199
- <line num="204" type="stmt" count="3"/>
73200
- <line num="209" type="method" name="__destruct" visibility="public" complexity="1" crap="1" count="3"/>
73201
- <line num="211" type="stmt" count="3"/>
73202
- <line num="212" type="stmt" count="3"/>
73203
- <line num="223" type="method" name="array_replace_recursive" visibility="public" complexity="4" crap="11.53" count="3"/>
73204
- <line num="225" type="stmt" count="3"/>
73205
- <line num="226" type="stmt" count="3"/>
73206
- <line num="229" type="stmt" count="0"/>
73207
- <line num="230" type="stmt" count="0"/>
73208
- <line num="231" type="stmt" count="0"/>
73209
  <line num="232" type="stmt" count="0"/>
73210
  <line num="233" type="stmt" count="0"/>
 
73211
  <line num="235" type="stmt" count="0"/>
73212
  <line num="236" type="stmt" count="0"/>
73213
- <line num="245" type="method" name="setTableWheres" visibility="public" complexity="1" crap="2" count="0"/>
73214
- <line num="247" type="stmt" count="0"/>
73215
- <line num="248" type="stmt" count="0"/>
73216
- <line num="255" type="method" name="getTableWhere" visibility="public" complexity="3" crap="3.58" count="3"/>
73217
- <line num="257" type="stmt" count="3"/>
73218
- <line num="258" type="stmt" count="0"/>
73219
- <line num="259" type="stmt" count="3"/>
73220
- <line num="260" type="stmt" count="0"/>
73221
- <line num="263" type="stmt" count="3"/>
73222
- <line num="272" type="method" name="setTableLimits" visibility="public" complexity="1" crap="2" count="0"/>
73223
- <line num="274" type="stmt" count="0"/>
73224
- <line num="275" type="stmt" count="0"/>
73225
- <line num="282" type="method" name="getTableLimit" visibility="public" complexity="3" crap="5.67" count="3"/>
73226
- <line num="284" type="stmt" count="3"/>
73227
- <line num="285" type="stmt" count="3"/>
73228
- <line num="288" type="stmt" count="0"/>
73229
- <line num="289" type="stmt" count="0"/>
73230
- <line num="290" type="stmt" count="0"/>
 
73231
  <line num="293" type="stmt" count="0"/>
73232
- <line num="306" type="method" name="parseDsn" visibility="private" complexity="9" crap="9.65" count="3"/>
73233
- <line num="308" type="stmt" count="3"/>
73234
- <line num="309" type="stmt" count="0"/>
73235
- <line num="312" type="stmt" count="3"/>
73236
- <line num="313" type="stmt" count="3"/>
73237
  <line num="315" type="stmt" count="3"/>
73238
- <line num="316" type="stmt" count="0"/>
73239
- <line num="319" type="stmt" count="3"/>
73240
- <line num="321" type="stmt" count="3"/>
73241
  <line num="322" type="stmt" count="3"/>
73242
- <line num="323" type="stmt" count="3"/>
73243
  <line num="324" type="stmt" count="3"/>
 
73244
  <line num="326" type="stmt" count="3"/>
73245
  <line num="327" type="stmt" count="3"/>
73246
- <line num="328" type="stmt" count="0"/>
73247
  <line num="330" type="stmt" count="3"/>
73248
- <line num="331" type="stmt" count="3"/>
73249
  <line num="333" type="stmt" count="3"/>
73250
- <line num="334" type="stmt" count="0"/>
73251
- <line num="337" type="stmt" count="3"/>
73252
- <line num="339" type="stmt" count="3"/>
73253
- <line num="347" type="method" name="connect" visibility="private" complexity="8" crap="9.57" count="3"/>
73254
- <line num="351" type="stmt" count="3"/>
73255
- <line num="352" type="stmt" count="3"/>
73256
- <line num="353" type="stmt" count="0"/>
73257
- <line num="354" type="stmt" count="0"/>
73258
  <line num="355" type="stmt" count="3"/>
73259
- <line num="356" type="stmt" count="3"/>
73260
- <line num="357" type="stmt" count="3"/>
73261
  <line num="358" type="stmt" count="3"/>
73262
  <line num="359" type="stmt" count="3"/>
73263
  <line num="360" type="stmt" count="3"/>
73264
  <line num="361" type="stmt" count="3"/>
73265
  <line num="362" type="stmt" count="3"/>
73266
  <line num="363" type="stmt" count="3"/>
 
73267
  <line num="365" type="stmt" count="3"/>
73268
  <line num="366" type="stmt" count="3"/>
73269
- <line num="367" type="stmt" count="3"/>
73270
  <line num="369" type="stmt" count="3"/>
73271
  <line num="370" type="stmt" count="3"/>
73272
- <line num="371" type="stmt" count="0"/>
73273
- <line num="372" type="stmt" count="0"/>
73274
  <line num="373" type="stmt" count="3"/>
73275
- <line num="374" type="stmt" count="3"/>
73276
  <line num="375" type="stmt" count="0"/>
73277
- <line num="376" type="stmt" count="0"/>
73278
- <line num="377" type="stmt" count="0"/>
73279
  <line num="378" type="stmt" count="0"/>
73280
- <line num="381" type="stmt" count="3"/>
73281
- <line num="382" type="stmt" count="0"/>
73282
- <line num="385" type="stmt" count="3"/>
73283
- <line num="386" type="stmt" count="3"/>
73284
- <line num="387" type="stmt" count="3"/>
73285
- <line num="396" type="method" name="start" visibility="public" complexity="6" crap="7.33" count="3"/>
73286
- <line num="399" type="stmt" count="3"/>
73287
- <line num="400" type="stmt" count="3"/>
73288
- <line num="401" type="stmt" count="3"/>
 
 
73289
  <line num="404" type="stmt" count="3"/>
73290
  <line num="407" type="stmt" count="3"/>
73291
  <line num="410" type="stmt" count="3"/>
73292
  <line num="413" type="stmt" count="3"/>
73293
- <line num="414" type="stmt" count="3"/>
73294
- <line num="415" type="stmt" count="3"/>
73295
  <line num="417" type="stmt" count="3"/>
73296
- <line num="418" type="stmt" count="0"/>
73297
- <line num="419" type="stmt" count="0"/>
73298
- <line num="420" type="stmt" count="0"/>
73299
  <line num="421" type="stmt" count="0"/>
73300
  <line num="422" type="stmt" count="0"/>
73301
  <line num="423" type="stmt" count="0"/>
73302
  <line num="424" type="stmt" count="0"/>
73303
  <line num="425" type="stmt" count="0"/>
73304
  <line num="426" type="stmt" count="0"/>
73305
- <line num="430" type="stmt" count="3"/>
73306
- <line num="431" type="stmt" count="3"/>
73307
- <line num="432" type="stmt" count="3"/>
73308
  <line num="433" type="stmt" count="3"/>
73309
  <line num="434" type="stmt" count="3"/>
73310
  <line num="435" type="stmt" count="3"/>
 
73311
  <line num="437" type="stmt" count="3"/>
73312
- <line num="438" type="stmt" count="0"/>
73313
- <line num="439" type="stmt" count="0"/>
73314
- <line num="440" type="stmt" count="0"/>
73315
  <line num="441" type="stmt" count="0"/>
73316
- <line num="447" type="stmt" count="3"/>
73317
- <line num="448" type="stmt" count="0"/>
73318
- <line num="449" type="stmt" count="0"/>
73319
- <line num="452" type="stmt" count="3"/>
73320
- <line num="453" type="stmt" count="3"/>
73321
- <line num="454" type="stmt" count="3"/>
73322
  <line num="455" type="stmt" count="3"/>
73323
  <line num="456" type="stmt" count="3"/>
73324
  <line num="457" type="stmt" count="3"/>
 
 
73325
  <line num="460" type="stmt" count="3"/>
73326
- <line num="461" type="stmt" count="3"/>
73327
- <line num="462" type="stmt" count="3"/>
73328
  <line num="464" type="stmt" count="3"/>
73329
- <line num="466" type="stmt" count="3"/>
73330
- <line num="468" type="stmt" count="3"/>
73331
- <line num="476" type="method" name="getDumpFileHeader" visibility="private" complexity="4" crap="4" count="3"/>
73332
- <line num="478" type="stmt" count="3"/>
73333
- <line num="479" type="stmt" count="3"/>
73334
  <line num="481" type="stmt" count="3"/>
73335
  <line num="482" type="stmt" count="3"/>
73336
- <line num="483" type="stmt" count="3"/>
73337
  <line num="484" type="stmt" count="3"/>
 
73338
  <line num="486" type="stmt" count="3"/>
73339
  <line num="487" type="stmt" count="3"/>
73340
- <line num="488" type="stmt" count="3"/>
73341
  <line num="490" type="stmt" count="3"/>
73342
  <line num="491" type="stmt" count="3"/>
73343
- <line num="492" type="stmt" count="3"/>
73344
  <line num="493" type="stmt" count="3"/>
73345
  <line num="494" type="stmt" count="3"/>
73346
- <line num="502" type="method" name="getDumpFileFooter" visibility="private" complexity="3" crap="3" count="3"/>
73347
- <line num="504" type="stmt" count="3"/>
73348
- <line num="505" type="stmt" count="3"/>
73349
- <line num="506" type="stmt" count="3"/>
73350
  <line num="507" type="stmt" count="3"/>
73351
  <line num="508" type="stmt" count="3"/>
73352
  <line num="509" type="stmt" count="3"/>
73353
  <line num="510" type="stmt" count="3"/>
73354
  <line num="511" type="stmt" count="3"/>
 
73355
  <line num="513" type="stmt" count="3"/>
73356
- <line num="522" type="method" name="getDatabaseStructureTables" visibility="private" complexity="5" crap="5.39" count="3"/>
73357
- <line num="525" type="stmt" count="3"/>
73358
- <line num="527" type="stmt" count="0"/>
73359
- <line num="528" type="stmt" count="0"/>
73360
- <line num="529" type="stmt" count="0"/>
73361
  <line num="530" type="stmt" count="0"/>
73362
- <line num="532" type="stmt" count="3"/>
73363
- <line num="533" type="stmt" count="3"/>
73364
- <line num="534" type="stmt" count="3"/>
73365
  <line num="535" type="stmt" count="3"/>
73366
  <line num="536" type="stmt" count="3"/>
73367
  <line num="537" type="stmt" count="3"/>
@@ -73369,114 +73456,114 @@
73369
  <line num="539" type="stmt" count="3"/>
73370
  <line num="540" type="stmt" count="3"/>
73371
  <line num="541" type="stmt" count="3"/>
 
73372
  <line num="543" type="stmt" count="3"/>
73373
- <line num="552" type="method" name="getDatabaseStructureViews" visibility="private" complexity="5" crap="15.55" count="3"/>
73374
- <line num="555" type="stmt" count="3"/>
73375
- <line num="557" type="stmt" count="0"/>
73376
- <line num="558" type="stmt" count="0"/>
73377
- <line num="559" type="stmt" count="0"/>
73378
  <line num="560" type="stmt" count="0"/>
73379
- <line num="562" type="stmt" count="3"/>
 
73380
  <line num="563" type="stmt" count="0"/>
73381
- <line num="564" type="stmt" count="0"/>
73382
- <line num="565" type="stmt" count="0"/>
73383
- <line num="566" type="stmt" count="0"/>
73384
- <line num="567" type="stmt" count="0"/>
73385
- <line num="568" type="stmt" count="0"/>
73386
- <line num="569" type="stmt" count="0"/>
73387
- <line num="570" type="stmt" count="0"/>
73388
  <line num="571" type="stmt" count="3"/>
 
73389
  <line num="573" type="stmt" count="3"/>
73390
- <line num="582" type="method" name="getDatabaseStructureTriggers" visibility="private" complexity="3" crap="3.04" count="3"/>
73391
- <line num="585" type="stmt" count="3"/>
73392
- <line num="586" type="stmt" count="3"/>
73393
- <line num="587" type="stmt" count="0"/>
73394
  <line num="588" type="stmt" count="3"/>
73395
  <line num="589" type="stmt" count="3"/>
73396
- <line num="590" type="stmt" count="3"/>
73397
- <line num="599" type="method" name="getDatabaseStructureProcedures" visibility="private" complexity="3" crap="5.67" count="3"/>
73398
- <line num="602" type="stmt" count="3"/>
73399
- <line num="603" type="stmt" count="0"/>
73400
- <line num="604" type="stmt" count="0"/>
73401
- <line num="605" type="stmt" count="0"/>
73402
  <line num="606" type="stmt" count="0"/>
73403
- <line num="607" type="stmt" count="3"/>
73404
- <line num="616" type="method" name="getDatabaseStructureFunctions" visibility="private" complexity="3" crap="5.67" count="3"/>
73405
- <line num="619" type="stmt" count="3"/>
73406
- <line num="620" type="stmt" count="0"/>
73407
- <line num="621" type="stmt" count="0"/>
73408
- <line num="622" type="stmt" count="0"/>
73409
  <line num="623" type="stmt" count="0"/>
73410
- <line num="624" type="stmt" count="3"/>
73411
- <line num="633" type="method" name="getDatabaseStructureEvents" visibility="private" complexity="3" crap="5.67" count="3"/>
73412
- <line num="636" type="stmt" count="3"/>
73413
- <line num="637" type="stmt" count="0"/>
73414
- <line num="638" type="stmt" count="0"/>
73415
- <line num="639" type="stmt" count="0"/>
73416
  <line num="640" type="stmt" count="0"/>
73417
- <line num="641" type="stmt" count="3"/>
73418
- <line num="650" type="method" name="matches" visibility="private" complexity="5" crap="9.29" count="3"/>
73419
- <line num="652" type="stmt" count="3"/>
73420
- <line num="654" type="stmt" count="3"/>
73421
- <line num="655" type="stmt" count="0"/>
73422
- <line num="656" type="stmt" count="0"/>
 
73423
  <line num="658" type="stmt" count="0"/>
73424
  <line num="659" type="stmt" count="0"/>
73425
- <line num="660" type="stmt" count="0"/>
73426
- <line num="661" type="stmt" count="3"/>
73427
- <line num="663" type="stmt" count="3"/>
73428
- <line num="671" type="method" name="exportTables" visibility="private" complexity="6" crap="6.56" count="3"/>
73429
- <line num="674" type="stmt" count="3"/>
73430
- <line num="675" type="stmt" count="3"/>
73431
- <line num="676" type="stmt" count="0"/>
73432
  <line num="678" type="stmt" count="3"/>
73433
- <line num="679" type="stmt" count="3"/>
73434
- <line num="680" type="stmt" count="0"/>
73435
  <line num="681" type="stmt" count="3"/>
73436
  <line num="682" type="stmt" count="3"/>
73437
  <line num="683" type="stmt" count="0"/>
 
73438
  <line num="685" type="stmt" count="3"/>
73439
- <line num="687" type="stmt" count="3"/>
73440
  <line num="688" type="stmt" count="3"/>
73441
- <line num="695" type="method" name="exportViews" visibility="private" complexity="6" crap="10.50" count="3"/>
73442
- <line num="697" type="stmt" count="3"/>
73443
- <line num="699" type="stmt" count="3"/>
73444
- <line num="700" type="stmt" count="0"/>
73445
- <line num="701" type="stmt" count="0"/>
73446
- <line num="703" type="stmt" count="0"/>
73447
  <line num="704" type="stmt" count="0"/>
73448
- <line num="705" type="stmt" count="3"/>
73449
  <line num="706" type="stmt" count="3"/>
73450
- <line num="707" type="stmt" count="0"/>
73451
- <line num="708" type="stmt" count="0"/>
73452
- <line num="710" type="stmt" count="0"/>
73453
- <line num="711" type="stmt" count="3"/>
73454
- <line num="712" type="stmt" count="3"/>
73455
  <line num="713" type="stmt" count="3"/>
73456
- <line num="720" type="method" name="exportTriggers" visibility="private" complexity="2" crap="2.06" count="3"/>
73457
- <line num="723" type="stmt" count="3"/>
73458
- <line num="724" type="stmt" count="0"/>
73459
- <line num="725" type="stmt" count="3"/>
73460
  <line num="726" type="stmt" count="3"/>
73461
- <line num="733" type="method" name="exportProcedures" visibility="private" complexity="2" crap="2.06" count="3"/>
73462
- <line num="736" type="stmt" count="3"/>
73463
- <line num="737" type="stmt" count="0"/>
73464
- <line num="738" type="stmt" count="3"/>
73465
  <line num="739" type="stmt" count="3"/>
73466
- <line num="746" type="method" name="exportFunctions" visibility="private" complexity="2" crap="2.06" count="3"/>
73467
- <line num="749" type="stmt" count="3"/>
73468
- <line num="750" type="stmt" count="0"/>
73469
- <line num="751" type="stmt" count="3"/>
73470
  <line num="752" type="stmt" count="3"/>
73471
- <line num="759" type="method" name="exportEvents" visibility="private" complexity="2" crap="2.06" count="3"/>
73472
- <line num="762" type="stmt" count="3"/>
73473
- <line num="763" type="stmt" count="0"/>
73474
- <line num="764" type="stmt" count="3"/>
73475
  <line num="765" type="stmt" count="3"/>
73476
- <line num="774" type="method" name="getTableStructure" visibility="private" complexity="5" crap="5" count="3"/>
73477
- <line num="776" type="stmt" count="3"/>
73478
- <line num="777" type="stmt" count="3"/>
73479
- <line num="778" type="stmt" count="3"/>
73480
  <line num="779" type="stmt" count="3"/>
73481
  <line num="780" type="stmt" count="3"/>
73482
  <line num="781" type="stmt" count="3"/>
@@ -73497,15 +73584,15 @@
73497
  <line num="796" type="stmt" count="3"/>
73498
  <line num="797" type="stmt" count="3"/>
73499
  <line num="798" type="stmt" count="3"/>
73500
- <line num="808" type="method" name="getTableColumnTypes" visibility="private" complexity="2" crap="2" count="3"/>
73501
- <line num="810" type="stmt" count="3"/>
73502
- <line num="811" type="stmt" count="3"/>
73503
- <line num="812" type="stmt" count="3"/>
73504
  <line num="813" type="stmt" count="3"/>
73505
  <line num="814" type="stmt" count="3"/>
 
73506
  <line num="816" type="stmt" count="3"/>
73507
  <line num="817" type="stmt" count="3"/>
73508
- <line num="818" type="stmt" count="3"/>
73509
  <line num="819" type="stmt" count="3"/>
73510
  <line num="820" type="stmt" count="3"/>
73511
  <line num="821" type="stmt" count="3"/>
@@ -73513,42 +73600,42 @@
73513
  <line num="823" type="stmt" count="3"/>
73514
  <line num="824" type="stmt" count="3"/>
73515
  <line num="825" type="stmt" count="3"/>
 
73516
  <line num="827" type="stmt" count="3"/>
73517
- <line num="837" type="method" name="getViewStructureTable" visibility="private" complexity="2" crap="6" count="0"/>
73518
- <line num="839" type="stmt" count="0"/>
73519
- <line num="840" type="stmt" count="0"/>
73520
- <line num="841" type="stmt" count="0"/>
73521
- <line num="842" type="stmt" count="0"/>
73522
- <line num="843" type="stmt" count="0"/>
73523
- <line num="844" type="stmt" count="0"/>
73524
- <line num="871" type="stmt" count="0"/>
73525
- <line num="872" type="stmt" count="0"/>
73526
- <line num="873" type="stmt" count="0"/>
73527
- <line num="874" type="stmt" count="0"/>
73528
- <line num="875" type="stmt" count="0"/>
73529
- <line num="877" type="stmt" count="0"/>
73530
- <line num="878" type="stmt" count="0"/>
73531
- <line num="880" type="stmt" count="0"/>
73532
- <line num="892" type="stmt" count="0"/>
73533
- <line num="893" type="stmt" count="0"/>
73534
- <line num="894" type="stmt" count="0"/>
73535
- <line num="895" type="stmt" count="0"/>
73536
- <line num="896" type="stmt" count="0"/>
73537
- <line num="897" type="stmt" count="0"/>
73538
- <line num="898" type="stmt" count="0"/>
73539
- <line num="902" type="stmt" count="0"/>
73540
- <line num="904" type="stmt" count="0"/>
73541
- <line num="905" type="stmt" count="0"/>
73542
- <line num="906" type="stmt" count="0"/>
73543
- <line num="907" type="stmt" count="0"/>
73544
- <line num="908" type="stmt" count="0"/>
73545
- <line num="909" type="stmt" count="0"/>
73546
- <line num="910" type="stmt" count="0"/>
73547
- <line num="911" type="stmt" count="0"/>
73548
- <line num="912" type="stmt" count="0"/>
73549
- <line num="922" type="stmt" count="0"/>
73550
- <line num="923" type="stmt" count="0"/>
73551
- <line num="924" type="stmt" count="0"/>
73552
  <line num="925" type="stmt" count="0"/>
73553
  <line num="926" type="stmt" count="0"/>
73554
  <line num="927" type="stmt" count="0"/>
@@ -73559,9 +73646,9 @@
73559
  <line num="932" type="stmt" count="0"/>
73560
  <line num="933" type="stmt" count="0"/>
73561
  <line num="934" type="stmt" count="0"/>
73562
- <line num="944" type="stmt" count="0"/>
73563
- <line num="945" type="stmt" count="0"/>
73564
- <line num="946" type="stmt" count="0"/>
73565
  <line num="947" type="stmt" count="0"/>
73566
  <line num="948" type="stmt" count="0"/>
73567
  <line num="949" type="stmt" count="0"/>
@@ -73573,9 +73660,9 @@
73573
  <line num="955" type="stmt" count="0"/>
73574
  <line num="956" type="stmt" count="0"/>
73575
  <line num="957" type="stmt" count="0"/>
73576
- <line num="967" type="stmt" count="0"/>
73577
- <line num="968" type="stmt" count="0"/>
73578
- <line num="969" type="stmt" count="0"/>
73579
  <line num="970" type="stmt" count="0"/>
73580
  <line num="971" type="stmt" count="0"/>
73581
  <line num="972" type="stmt" count="0"/>
@@ -73587,9 +73674,9 @@
73587
  <line num="978" type="stmt" count="0"/>
73588
  <line num="979" type="stmt" count="0"/>
73589
  <line num="980" type="stmt" count="0"/>
73590
- <line num="990" type="stmt" count="0"/>
73591
- <line num="991" type="stmt" count="0"/>
73592
- <line num="992" type="stmt" count="0"/>
73593
  <line num="993" type="stmt" count="0"/>
73594
  <line num="994" type="stmt" count="0"/>
73595
  <line num="995" type="stmt" count="0"/>
@@ -73601,396 +73688,396 @@
73601
  <line num="1001" type="stmt" count="0"/>
73602
  <line num="1002" type="stmt" count="0"/>
73603
  <line num="1003" type="stmt" count="0"/>
73604
- <line num="1016" type="stmt" count="3"/>
73605
- <line num="1017" type="stmt" count="3"/>
73606
- <line num="1018" type="stmt" count="3"/>
73607
  <line num="1019" type="stmt" count="3"/>
73608
  <line num="1020" type="stmt" count="3"/>
73609
  <line num="1021" type="stmt" count="3"/>
 
73610
  <line num="1023" type="stmt" count="3"/>
73611
- <line num="1036" type="stmt" count="3"/>
73612
- <line num="1037" type="stmt" count="0"/>
73613
- <line num="1038" type="stmt" count="3"/>
73614
- <line num="1039" type="stmt" count="0"/>
73615
  <line num="1040" type="stmt" count="0"/>
 
73616
  <line num="1042" type="stmt" count="0"/>
73617
- <line num="1044" type="stmt" count="3"/>
73618
- <line num="1045" type="stmt" count="3"/>
 
73619
  <line num="1048" type="stmt" count="3"/>
73620
- <line num="1060" type="stmt" count="0"/>
73621
- <line num="1061" type="stmt" count="0"/>
73622
- <line num="1074" type="stmt" count="3"/>
73623
- <line num="1075" type="stmt" count="3"/>
73624
- <line num="1078" type="stmt" count="0"/>
73625
- <line num="1079" type="stmt" count="0"/>
73626
- <line num="1080" type="stmt" count="0"/>
73627
  <line num="1081" type="stmt" count="0"/>
 
73628
  <line num="1083" type="stmt" count="0"/>
73629
- <line num="1095" type="stmt" count="3"/>
73630
- <line num="1097" type="stmt" count="3"/>
73631
  <line num="1098" type="stmt" count="3"/>
 
73632
  <line num="1101" type="stmt" count="3"/>
73633
- <line num="1103" type="stmt" count="3"/>
73634
- <line num="1104" type="stmt" count="0"/>
73635
- <line num="1105" type="stmt" count="0"/>
73636
- <line num="1107" type="stmt" count="3"/>
73637
  <line num="1110" type="stmt" count="3"/>
73638
- <line num="1112" type="stmt" count="3"/>
73639
- <line num="1113" type="stmt" count="0"/>
73640
- <line num="1114" type="stmt" count="0"/>
73641
- <line num="1116" type="stmt" count="3"/>
73642
- <line num="1118" type="stmt" count="3"/>
73643
- <line num="1119" type="stmt" count="0"/>
73644
- <line num="1120" type="stmt" count="0"/>
73645
- <line num="1122" type="stmt" count="3"/>
73646
- <line num="1123" type="stmt" count="3"/>
73647
  <line num="1125" type="stmt" count="3"/>
73648
- <line num="1127" type="stmt" count="3"/>
73649
  <line num="1128" type="stmt" count="3"/>
73650
- <line num="1129" type="stmt" count="3"/>
73651
  <line num="1130" type="stmt" count="3"/>
73652
  <line num="1131" type="stmt" count="3"/>
73653
  <line num="1132" type="stmt" count="3"/>
73654
- <line num="1133" type="stmt" count="0"/>
73655
- <line num="1134" type="stmt" count="0"/>
73656
- <line num="1135" type="stmt" count="0"/>
73657
  <line num="1136" type="stmt" count="0"/>
73658
  <line num="1137" type="stmt" count="0"/>
73659
  <line num="1138" type="stmt" count="0"/>
73660
- <line num="1139" type="stmt" count="3"/>
73661
- <line num="1140" type="stmt" count="3"/>
73662
- <line num="1141" type="stmt" count="3"/>
 
73663
  <line num="1143" type="stmt" count="3"/>
73664
  <line num="1144" type="stmt" count="3"/>
73665
- <line num="1145" type="stmt" count="3"/>
73666
  <line num="1147" type="stmt" count="3"/>
73667
  <line num="1148" type="stmt" count="3"/>
73668
- <line num="1149" type="stmt" count="0"/>
73669
- <line num="1150" type="stmt" count="0"/>
73670
- <line num="1151" type="stmt" count="0"/>
73671
- <line num="1152" type="stmt" count="3"/>
73672
- <line num="1153" type="stmt" count="3"/>
73673
  <line num="1155" type="stmt" count="3"/>
73674
  <line num="1156" type="stmt" count="3"/>
73675
- <line num="1157" type="stmt" count="3"/>
73676
  <line num="1159" type="stmt" count="3"/>
73677
  <line num="1160" type="stmt" count="3"/>
73678
- <line num="1171" type="stmt" count="3"/>
73679
- <line num="1172" type="stmt" count="3"/>
73680
- <line num="1173" type="stmt" count="3"/>
73681
  <line num="1174" type="stmt" count="3"/>
73682
  <line num="1175" type="stmt" count="3"/>
73683
  <line num="1176" type="stmt" count="3"/>
73684
  <line num="1177" type="stmt" count="3"/>
 
73685
  <line num="1179" type="stmt" count="3"/>
73686
  <line num="1180" type="stmt" count="3"/>
73687
- <line num="1181" type="stmt" count="3"/>
73688
  <line num="1182" type="stmt" count="3"/>
 
73689
  <line num="1184" type="stmt" count="3"/>
73690
- <line num="1185" type="stmt" count="0"/>
73691
- <line num="1186" type="stmt" count="0"/>
73692
- <line num="1188" type="stmt" count="3"/>
73693
- <line num="1189" type="stmt" count="3"/>
73694
- <line num="1190" type="stmt" count="3"/>
73695
  <line num="1191" type="stmt" count="3"/>
73696
  <line num="1192" type="stmt" count="3"/>
 
73697
  <line num="1194" type="stmt" count="3"/>
73698
  <line num="1195" type="stmt" count="3"/>
73699
- <line num="1196" type="stmt" count="3"/>
73700
  <line num="1197" type="stmt" count="3"/>
73701
  <line num="1198" type="stmt" count="3"/>
 
 
73702
  <line num="1201" type="stmt" count="3"/>
73703
- <line num="1202" type="stmt" count="0"/>
73704
- <line num="1203" type="stmt" count="0"/>
73705
- <line num="1204" type="stmt" count="0"/>
73706
  <line num="1205" type="stmt" count="0"/>
73707
- <line num="1207" type="stmt" count="3"/>
73708
- <line num="1220" type="stmt" count="3"/>
73709
- <line num="1221" type="stmt" count="3"/>
73710
- <line num="1222" type="stmt" count="3"/>
73711
  <line num="1223" type="stmt" count="3"/>
73712
  <line num="1224" type="stmt" count="3"/>
 
73713
  <line num="1226" type="stmt" count="3"/>
73714
  <line num="1227" type="stmt" count="3"/>
73715
- <line num="1228" type="stmt" count="3"/>
73716
  <line num="1229" type="stmt" count="3"/>
73717
  <line num="1230" type="stmt" count="3"/>
 
73718
  <line num="1232" type="stmt" count="3"/>
73719
  <line num="1233" type="stmt" count="3"/>
73720
- <line num="1234" type="stmt" count="3"/>
73721
  <line num="1236" type="stmt" count="3"/>
73722
- <line num="1237" type="stmt" count="0"/>
73723
- <line num="1238" type="stmt" count="0"/>
73724
- <line num="1241" type="stmt" count="3"/>
73725
- <line num="1242" type="stmt" count="0"/>
73726
- <line num="1243" type="stmt" count="0"/>
73727
- <line num="1244" type="stmt" count="0"/>
73728
  <line num="1245" type="stmt" count="0"/>
73729
- <line num="1247" type="stmt" count="3"/>
73730
- <line num="1249" type="stmt" count="3"/>
 
73731
  <line num="1250" type="stmt" count="3"/>
73732
- <line num="1251" type="stmt" count="3"/>
73733
  <line num="1252" type="stmt" count="3"/>
73734
  <line num="1253" type="stmt" count="3"/>
73735
  <line num="1254" type="stmt" count="3"/>
 
73736
  <line num="1256" type="stmt" count="3"/>
73737
- <line num="1268" type="stmt" count="3"/>
73738
- <line num="1269" type="stmt" count="3"/>
73739
- <line num="1270" type="stmt" count="3"/>
73740
- <line num="1271" type="stmt" count="0"/>
73741
  <line num="1272" type="stmt" count="3"/>
73742
- <line num="1273" type="stmt" count="0"/>
73743
- <line num="1274" type="stmt" count="3"/>
73744
- <line num="1275" type="stmt" count="0"/>
73745
  <line num="1276" type="stmt" count="0"/>
73746
- <line num="1278" type="stmt" count="3"/>
73747
- <line num="1280" type="stmt" count="3"/>
73748
- <line num="1282" type="stmt" count="3"/>
73749
- <line num="1294" type="stmt" count="0"/>
73750
- <line num="1295" type="stmt" count="0"/>
73751
- <line num="1296" type="stmt" count="0"/>
73752
  <line num="1297" type="stmt" count="0"/>
73753
  <line num="1298" type="stmt" count="0"/>
 
73754
  <line num="1300" type="stmt" count="0"/>
73755
- <line num="1302" type="stmt" count="0"/>
73756
  <line num="1303" type="stmt" count="0"/>
73757
- <line num="1324" type="method" name="isValid" visibility="public" complexity="1" crap="1" count="3"/>
73758
- <line num="1326" type="stmt" count="3"/>
73759
- <line num="1336" type="method" name="create" visibility="public" complexity="2" crap="2.03" count="3"/>
73760
- <line num="1338" type="stmt" count="3"/>
73761
- <line num="1339" type="stmt" count="3"/>
73762
- <line num="1340" type="stmt" count="0"/>
73763
- <line num="1343" type="stmt" count="3"/>
73764
- <line num="1345" type="stmt" count="3"/>
73765
- <line num="1353" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
73766
- <line num="1355" type="stmt" count="0"/>
73767
- <line num="1356" type="stmt" count="0"/>
73768
  <line num="1358" type="stmt" count="0"/>
73769
- <line num="1363" type="method" name="open" visibility="public" complexity="2" crap="6" count="0"/>
73770
- <line num="1365" type="stmt" count="0"/>
73771
- <line num="1366" type="stmt" count="0"/>
73772
- <line num="1367" type="stmt" count="0"/>
 
73773
  <line num="1370" type="stmt" count="0"/>
73774
- <line num="1373" type="method" name="write" visibility="public" complexity="2" crap="6" count="0"/>
73775
- <line num="1375" type="stmt" count="0"/>
73776
- <line num="1376" type="stmt" count="0"/>
73777
- <line num="1377" type="stmt" count="0"/>
73778
  <line num="1379" type="stmt" count="0"/>
73779
- <line num="1382" type="method" name="close" visibility="public" complexity="1" crap="2" count="0"/>
73780
- <line num="1384" type="stmt" count="0"/>
73781
- <line num="1392" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
73782
- <line num="1394" type="stmt" count="0"/>
73783
- <line num="1395" type="stmt" count="0"/>
73784
  <line num="1397" type="stmt" count="0"/>
73785
- <line num="1402" type="method" name="open" visibility="public" complexity="2" crap="6" count="0"/>
73786
- <line num="1404" type="stmt" count="0"/>
73787
- <line num="1405" type="stmt" count="0"/>
73788
- <line num="1406" type="stmt" count="0"/>
 
73789
  <line num="1409" type="stmt" count="0"/>
73790
- <line num="1412" type="method" name="write" visibility="public" complexity="2" crap="6" count="0"/>
73791
- <line num="1414" type="stmt" count="0"/>
73792
- <line num="1415" type="stmt" count="0"/>
73793
- <line num="1416" type="stmt" count="0"/>
73794
  <line num="1418" type="stmt" count="0"/>
73795
- <line num="1421" type="method" name="close" visibility="public" complexity="1" crap="2" count="0"/>
73796
- <line num="1423" type="stmt" count="0"/>
73797
- <line num="1434" type="method" name="open" visibility="public" complexity="2" crap="2.06" count="3"/>
73798
- <line num="1436" type="stmt" count="3"/>
73799
- <line num="1437" type="stmt" count="3"/>
73800
- <line num="1438" type="stmt" count="0"/>
73801
- <line num="1441" type="stmt" count="3"/>
73802
- <line num="1444" type="method" name="write" visibility="public" complexity="2" crap="2.06" count="3"/>
73803
- <line num="1446" type="stmt" count="3"/>
73804
- <line num="1447" type="stmt" count="3"/>
73805
- <line num="1448" type="stmt" count="0"/>
73806
  <line num="1450" type="stmt" count="3"/>
73807
- <line num="1453" type="method" name="close" visibility="public" complexity="1" crap="1" count="3"/>
73808
- <line num="1455" type="stmt" count="3"/>
73809
- <line num="1468" type="method" name="open" visibility="public" complexity="2" crap="6" count="0"/>
73810
- <line num="1470" type="stmt" count="0"/>
73811
- <line num="1471" type="stmt" count="0"/>
73812
- <line num="1472" type="stmt" count="0"/>
 
73813
  <line num="1475" type="stmt" count="0"/>
73814
- <line num="1476" type="stmt" count="0"/>
73815
- <line num="1479" type="method" name="write" visibility="public" complexity="2" crap="6" count="0"/>
73816
- <line num="1482" type="stmt" count="0"/>
73817
- <line num="1483" type="stmt" count="0"/>
73818
- <line num="1484" type="stmt" count="0"/>
73819
  <line num="1486" type="stmt" count="0"/>
73820
- <line num="1489" type="method" name="close" visibility="public" complexity="1" crap="2" count="0"/>
73821
- <line num="1491" type="stmt" count="0"/>
73822
- <line num="1492" type="stmt" count="0"/>
73823
- <line num="1511" type="method" name="isValid" visibility="public" complexity="1" crap="1" count="3"/>
73824
- <line num="1513" type="stmt" count="3"/>
73825
- <line num="1530" type="method" name="create" visibility="public" complexity="2" crap="2.03" count="3"/>
73826
- <line num="1532" type="stmt" count="3"/>
73827
- <line num="1533" type="stmt" count="3"/>
73828
- <line num="1534" type="stmt" count="0"/>
73829
  <line num="1536" type="stmt" count="3"/>
73830
- <line num="1537" type="stmt" count="3"/>
73831
- <line num="1540" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="3"/>
73832
- <line num="1542" type="stmt" count="3"/>
73833
- <line num="1543" type="stmt" count="3"/>
73834
- <line num="1544" type="stmt" count="3"/>
73835
- <line num="1550" type="method" name="databases" visibility="public" complexity="1" crap="2" count="0"/>
73836
- <line num="1552" type="stmt" count="0"/>
73837
- <line num="1555" type="method" name="show_create_table" visibility="public" complexity="1" crap="2" count="0"/>
73838
- <line num="1558" type="stmt" count="0"/>
73839
- <line num="1559" type="stmt" count="0"/>
73840
- <line num="1566" type="method" name="create_table" visibility="public" complexity="1" crap="2" count="0"/>
73841
- <line num="1568" type="stmt" count="0"/>
73842
- <line num="1571" type="method" name="show_create_view" visibility="public" complexity="1" crap="2" count="0"/>
73843
- <line num="1574" type="stmt" count="0"/>
73844
- <line num="1575" type="stmt" count="0"/>
73845
- <line num="1582" type="method" name="create_view" visibility="public" complexity="1" crap="2" count="0"/>
73846
- <line num="1584" type="stmt" count="0"/>
73847
- <line num="1591" type="method" name="show_create_trigger" visibility="public" complexity="1" crap="2" count="0"/>
73848
- <line num="1593" type="stmt" count="0"/>
73849
- <line num="1600" type="method" name="create_trigger" visibility="public" complexity="1" crap="2" count="0"/>
73850
- <line num="1602" type="stmt" count="0"/>
73851
- <line num="1609" type="method" name="create_procedure" visibility="public" complexity="1" crap="2" count="0"/>
73852
- <line num="1611" type="stmt" count="0"/>
73853
- <line num="1618" type="method" name="create_function" visibility="public" complexity="1" crap="2" count="0"/>
73854
- <line num="1620" type="stmt" count="0"/>
73855
- <line num="1623" type="method" name="show_tables" visibility="public" complexity="1" crap="2" count="0"/>
73856
- <line num="1625" type="stmt" count="0"/>
73857
- <line num="1628" type="method" name="show_views" visibility="public" complexity="1" crap="2" count="0"/>
73858
- <line num="1630" type="stmt" count="0"/>
73859
- <line num="1633" type="method" name="show_triggers" visibility="public" complexity="1" crap="2" count="0"/>
73860
- <line num="1635" type="stmt" count="0"/>
73861
- <line num="1638" type="method" name="show_columns" visibility="public" complexity="2" crap="6" count="0"/>
73862
- <line num="1640" type="stmt" count="0"/>
73863
- <line num="1641" type="stmt" count="0"/>
 
73864
  <line num="1644" type="stmt" count="0"/>
73865
- <line num="1646" type="stmt" count="0"/>
73866
- <line num="1651" type="stmt" count="0"/>
73867
- <line num="1656" type="stmt" count="0"/>
73868
- <line num="1661" type="stmt" count="0"/>
73869
- <line num="1666" type="stmt" count="0"/>
73870
- <line num="1671" type="stmt" count="0"/>
73871
- <line num="1676" type="stmt" count="0"/>
73872
- <line num="1681" type="stmt" count="0"/>
73873
- <line num="1686" type="stmt" count="0"/>
73874
- <line num="1691" type="stmt" count="0"/>
73875
- <line num="1696" type="stmt" count="0"/>
73876
- <line num="1701" type="stmt" count="0"/>
73877
- <line num="1706" type="stmt" count="0"/>
73878
- <line num="1711" type="stmt" count="0"/>
73879
- <line num="1716" type="stmt" count="0"/>
73880
- <line num="1721" type="stmt" count="0"/>
73881
- <line num="1726" type="stmt" count="0"/>
73882
- <line num="1731" type="stmt" count="0"/>
73883
- <line num="1736" type="stmt" count="0"/>
73884
- <line num="1748" type="stmt" count="0"/>
73885
- <line num="1753" type="stmt" count="0"/>
73886
- <line num="1758" type="stmt" count="0"/>
73887
- <line num="1814" type="method" name="databases" visibility="public" complexity="1" crap="2" count="0"/>
73888
- <line num="1816" type="stmt" count="0"/>
73889
- <line num="1817" type="stmt" count="0"/>
73890
- <line num="1818" type="stmt" count="0"/>
73891
  <line num="1820" type="stmt" count="0"/>
73892
  <line num="1821" type="stmt" count="0"/>
73893
- <line num="1822" type="stmt" count="0"/>
73894
  <line num="1824" type="stmt" count="0"/>
73895
  <line num="1825" type="stmt" count="0"/>
73896
- <line num="1826" type="stmt" count="0"/>
73897
  <line num="1827" type="stmt" count="0"/>
 
73898
  <line num="1829" type="stmt" count="0"/>
73899
- <line num="1831" type="stmt" count="0"/>
73900
  <line num="1832" type="stmt" count="0"/>
73901
  <line num="1834" type="stmt" count="0"/>
73902
- <line num="1839" type="stmt" count="3"/>
73903
- <line num="1844" type="stmt" count="0"/>
73904
- <line num="1849" type="stmt" count="0"/>
73905
- <line num="1854" type="stmt" count="0"/>
73906
- <line num="1859" type="stmt" count="0"/>
73907
- <line num="1864" type="stmt" count="0"/>
73908
- <line num="1869" type="stmt" count="3"/>
73909
- <line num="1870" type="stmt" count="0"/>
73910
- <line num="1873" type="stmt" count="3"/>
73911
- <line num="1874" type="stmt" count="3"/>
73912
- <line num="1875" type="stmt" count="0"/>
73913
- <line num="1876" type="stmt" count="0"/>
73914
- <line num="1877" type="stmt" count="0"/>
73915
  <line num="1878" type="stmt" count="0"/>
73916
- <line num="1880" type="stmt" count="3"/>
73917
- <line num="1881" type="stmt" count="3"/>
73918
- <line num="1882" type="stmt" count="3"/>
73919
  <line num="1883" type="stmt" count="3"/>
73920
  <line num="1884" type="stmt" count="3"/>
73921
  <line num="1885" type="stmt" count="3"/>
73922
- <line num="1890" type="stmt" count="0"/>
73923
- <line num="1891" type="stmt" count="0"/>
73924
- <line num="1892" type="stmt" count="0"/>
 
 
73925
  <line num="1895" type="stmt" count="0"/>
73926
- <line num="1897" type="stmt" count="0"/>
73927
- <line num="1899" type="stmt" count="0"/>
73928
- <line num="1901" type="stmt" count="0"/>
73929
- <line num="1902" type="stmt" count="0"/>
73930
- <line num="1903" type="stmt" count="0"/>
73931
- <line num="1905" type="stmt" count="0"/>
73932
- <line num="1906" type="stmt" count="0"/>
73933
- <line num="1907" type="stmt" count="0"/>
73934
- <line num="1909" type="stmt" count="0"/>
73935
- <line num="1910" type="stmt" count="0"/>
73936
- <line num="1915" type="stmt" count="0"/>
73937
- <line num="1916" type="stmt" count="0"/>
73938
- <line num="1917" type="stmt" count="0"/>
73939
  <line num="1920" type="stmt" count="0"/>
73940
- <line num="1921" type="stmt" count="0"/>
73941
- <line num="1922" type="stmt" count="0"/>
73942
  <line num="1923" type="stmt" count="0"/>
73943
  <line num="1924" type="stmt" count="0"/>
73944
  <line num="1925" type="stmt" count="0"/>
 
73945
  <line num="1927" type="stmt" count="0"/>
73946
  <line num="1928" type="stmt" count="0"/>
73947
- <line num="1929" type="stmt" count="0"/>
73948
  <line num="1931" type="stmt" count="0"/>
73949
  <line num="1932" type="stmt" count="0"/>
73950
- <line num="1933" type="stmt" count="0"/>
73951
  <line num="1934" type="stmt" count="0"/>
73952
- <line num="1939" type="stmt" count="0"/>
73953
- <line num="1940" type="stmt" count="0"/>
73954
- <line num="1941" type="stmt" count="0"/>
73955
  <line num="1942" type="stmt" count="0"/>
 
73956
  <line num="1944" type="stmt" count="0"/>
73957
  <line num="1945" type="stmt" count="0"/>
73958
- <line num="1946" type="stmt" count="0"/>
73959
  <line num="1947" type="stmt" count="0"/>
73960
  <line num="1948" type="stmt" count="0"/>
73961
  <line num="1949" type="stmt" count="0"/>
 
73962
  <line num="1951" type="stmt" count="0"/>
73963
  <line num="1952" type="stmt" count="0"/>
73964
- <line num="1953" type="stmt" count="0"/>
73965
  <line num="1954" type="stmt" count="0"/>
 
 
73966
  <line num="1957" type="stmt" count="0"/>
73967
- <line num="1958" type="stmt" count="0"/>
73968
- <line num="1959" type="stmt" count="0"/>
73969
  <line num="1960" type="stmt" count="0"/>
73970
  <line num="1961" type="stmt" count="0"/>
73971
  <line num="1962" type="stmt" count="0"/>
73972
  <line num="1963" type="stmt" count="0"/>
 
73973
  <line num="1965" type="stmt" count="0"/>
73974
- <line num="1970" type="stmt" count="0"/>
73975
- <line num="1971" type="stmt" count="0"/>
73976
- <line num="1972" type="stmt" count="0"/>
73977
  <line num="1973" type="stmt" count="0"/>
 
73978
  <line num="1975" type="stmt" count="0"/>
73979
  <line num="1976" type="stmt" count="0"/>
73980
- <line num="1977" type="stmt" count="0"/>
73981
  <line num="1978" type="stmt" count="0"/>
73982
  <line num="1979" type="stmt" count="0"/>
73983
  <line num="1980" type="stmt" count="0"/>
73984
  <line num="1981" type="stmt" count="0"/>
73985
  <line num="1982" type="stmt" count="0"/>
73986
  <line num="1983" type="stmt" count="0"/>
 
73987
  <line num="1985" type="stmt" count="0"/>
73988
  <line num="1986" type="stmt" count="0"/>
73989
- <line num="1987" type="stmt" count="0"/>
73990
  <line num="1988" type="stmt" count="0"/>
 
 
73991
  <line num="1991" type="stmt" count="0"/>
73992
- <line num="1992" type="stmt" count="0"/>
73993
- <line num="1993" type="stmt" count="0"/>
73994
  <line num="1994" type="stmt" count="0"/>
73995
  <line num="1995" type="stmt" count="0"/>
73996
  <line num="1996" type="stmt" count="0"/>
@@ -74007,25 +74094,25 @@
74007
  <line num="2007" type="stmt" count="0"/>
74008
  <line num="2008" type="stmt" count="0"/>
74009
  <line num="2009" type="stmt" count="0"/>
 
 
74010
  <line num="2012" type="stmt" count="0"/>
74011
- <line num="2017" type="stmt" count="0"/>
74012
- <line num="2018" type="stmt" count="0"/>
74013
- <line num="2019" type="stmt" count="0"/>
74014
  <line num="2020" type="stmt" count="0"/>
 
74015
  <line num="2022" type="stmt" count="0"/>
74016
  <line num="2023" type="stmt" count="0"/>
74017
- <line num="2024" type="stmt" count="0"/>
74018
  <line num="2025" type="stmt" count="0"/>
 
74019
  <line num="2027" type="stmt" count="0"/>
74020
  <line num="2028" type="stmt" count="0"/>
74021
- <line num="2029" type="stmt" count="0"/>
74022
  <line num="2030" type="stmt" count="0"/>
 
74023
  <line num="2032" type="stmt" count="0"/>
74024
  <line num="2033" type="stmt" count="0"/>
74025
- <line num="2034" type="stmt" count="0"/>
74026
  <line num="2036" type="stmt" count="0"/>
74027
  <line num="2037" type="stmt" count="0"/>
74028
- <line num="2038" type="stmt" count="0"/>
74029
  <line num="2039" type="stmt" count="0"/>
74030
  <line num="2040" type="stmt" count="0"/>
74031
  <line num="2041" type="stmt" count="0"/>
@@ -74044,116 +74131,259 @@
74044
  <line num="2054" type="stmt" count="0"/>
74045
  <line num="2055" type="stmt" count="0"/>
74046
  <line num="2056" type="stmt" count="0"/>
74047
- <line num="2060" type="stmt" count="0"/>
74048
- <line num="2065" type="stmt" count="3"/>
74049
- <line num="2066" type="stmt" count="3"/>
 
74050
  <line num="2068" type="stmt" count="3"/>
74051
  <line num="2069" type="stmt" count="3"/>
74052
- <line num="2074" type="stmt" count="3"/>
74053
- <line num="2075" type="stmt" count="3"/>
74054
  <line num="2077" type="stmt" count="3"/>
74055
  <line num="2078" type="stmt" count="3"/>
74056
- <line num="2083" type="stmt" count="3"/>
74057
- <line num="2084" type="stmt" count="3"/>
74058
- <line num="2085" type="stmt" count="3"/>
74059
- <line num="2090" type="stmt" count="3"/>
74060
- <line num="2091" type="stmt" count="3"/>
74061
- <line num="2092" type="stmt" count="3"/>
74062
- <line num="2097" type="stmt" count="0"/>
74063
- <line num="2098" type="stmt" count="0"/>
74064
  <line num="2100" type="stmt" count="0"/>
74065
  <line num="2101" type="stmt" count="0"/>
74066
- <line num="2106" type="stmt" count="0"/>
74067
- <line num="2107" type="stmt" count="0"/>
74068
  <line num="2109" type="stmt" count="0"/>
74069
  <line num="2110" type="stmt" count="0"/>
74070
- <line num="2121" type="stmt" count="0"/>
74071
- <line num="2122" type="stmt" count="0"/>
74072
  <line num="2124" type="stmt" count="0"/>
74073
  <line num="2125" type="stmt" count="0"/>
74074
- <line num="2130" type="stmt" count="3"/>
74075
- <line num="2136" type="stmt" count="3"/>
74076
- <line num="2142" type="stmt" count="3"/>
74077
- <line num="2147" type="stmt" count="0"/>
74078
- <line num="2148" type="stmt" count="0"/>
74079
- <line num="2149" type="stmt" count="0"/>
74080
- <line num="2154" type="stmt" count="0"/>
74081
- <line num="2159" type="stmt" count="3"/>
74082
- <line num="2160" type="stmt" count="3"/>
74083
- <line num="2161" type="stmt" count="3"/>
74084
- <line num="2166" type="stmt" count="3"/>
74085
- <line num="2171" type="stmt" count="3"/>
74086
- <line num="2172" type="stmt" count="3"/>
74087
- <line num="2173" type="stmt" count="3"/>
74088
  <line num="2174" type="stmt" count="3"/>
74089
- <line num="2179" type="stmt" count="3"/>
74090
- <line num="2180" type="stmt" count="3"/>
74091
- <line num="2181" type="stmt" count="3"/>
74092
  <line num="2182" type="stmt" count="3"/>
74093
- <line num="2187" type="stmt" count="0"/>
74094
- <line num="2192" type="stmt" count="0"/>
74095
- <line num="2197" type="stmt" count="0"/>
74096
- <line num="2198" type="stmt" count="0"/>
74097
- <line num="2199" type="stmt" count="0"/>
74098
  <line num="2200" type="stmt" count="0"/>
74099
- <line num="2205" type="stmt" count="0"/>
74100
- <line num="2206" type="stmt" count="0"/>
74101
- <line num="2207" type="stmt" count="0"/>
74102
- <line num="2212" type="stmt" count="3"/>
74103
- <line num="2213" type="stmt" count="3"/>
74104
- <line num="2214" type="stmt" count="3"/>
74105
- <line num="2219" type="stmt" count="0"/>
74106
- <line num="2220" type="stmt" count="0"/>
74107
- <line num="2221" type="stmt" count="0"/>
74108
- <line num="2222" type="stmt" count="0"/>
74109
- <line num="2227" type="stmt" count="0"/>
74110
- <line num="2228" type="stmt" count="0"/>
74111
- <line num="2229" type="stmt" count="0"/>
74112
  <line num="2230" type="stmt" count="0"/>
74113
  <line num="2231" type="stmt" count="0"/>
74114
- <line num="2243" type="stmt" count="3"/>
74115
- <line num="2244" type="stmt" count="3"/>
 
74116
  <line num="2246" type="stmt" count="3"/>
74117
  <line num="2247" type="stmt" count="3"/>
74118
- <line num="2248" type="stmt" count="3"/>
74119
  <line num="2249" type="stmt" count="3"/>
74120
  <line num="2250" type="stmt" count="3"/>
74121
  <line num="2251" type="stmt" count="3"/>
 
74122
  <line num="2253" type="stmt" count="3"/>
74123
  <line num="2254" type="stmt" count="3"/>
74124
- <line num="2258" type="stmt" count="3"/>
74125
- <line num="2260" type="stmt" count="3"/>
74126
- <line num="2265" type="stmt" count="3"/>
74127
- <line num="2266" type="stmt" count="3"/>
74128
- <line num="2267" type="stmt" count="3"/>
74129
  <line num="2268" type="stmt" count="3"/>
 
74130
  <line num="2270" type="stmt" count="3"/>
74131
  <line num="2271" type="stmt" count="3"/>
74132
- <line num="2272" type="stmt" count="3"/>
74133
  <line num="2273" type="stmt" count="3"/>
 
74134
  <line num="2275" type="stmt" count="3"/>
74135
  <line num="2276" type="stmt" count="3"/>
74136
- <line num="2277" type="stmt" count="3"/>
74137
  <line num="2278" type="stmt" count="3"/>
 
74138
  <line num="2280" type="stmt" count="3"/>
74139
- <line num="2285" type="stmt" count="3"/>
74140
- <line num="2287" type="stmt" count="3"/>
74141
  <line num="2288" type="stmt" count="3"/>
74142
- <line num="2289" type="stmt" count="3"/>
74143
  <line num="2291" type="stmt" count="3"/>
74144
  <line num="2292" type="stmt" count="3"/>
74145
- <line num="2293" type="stmt" count="3"/>
74146
  <line num="2294" type="stmt" count="3"/>
74147
  <line num="2295" type="stmt" count="3"/>
74148
  <line num="2296" type="stmt" count="3"/>
74149
  <line num="2297" type="stmt" count="3"/>
 
74150
  <line num="2299" type="stmt" count="3"/>
74151
- <line num="2312" type="stmt" count="3"/>
74152
- <line num="2313" type="stmt" count="0"/>
74153
  <line num="2315" type="stmt" count="3"/>
74154
- <metrics loc="2317" ncloc="1772" classes="10" methods="61" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="949" coveredstatements="455" elements="1010" coveredelements="464"/>
 
 
74155
  </file>
74156
  </package>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
74157
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/ifsnop/mysqldump-php/unit-tests/MysqldumpTest.php">
74158
  <class name="MysqldumpTest" namespace="global">
74159
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="0" elements="32" coveredelements="0"/>
@@ -92046,6 +92276,6 @@
92046
  <line num="16" type="stmt" count="0"/>
92047
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
92048
  </file>
92049
- <metrics files="911" loc="183719" ncloc="112343" classes="824" methods="3342" coveredmethods="167" conditionals="0" coveredconditionals="0" statements="83088" coveredstatements="2747" elements="86430" coveredelements="2914"/>
92050
  </project>
92051
  </coverage>
1
  <?xml version="1.0" encoding="UTF-8"?>
2
+ <coverage generated="1578680008">
3
+ <project timestamp="1578680008">
4
  <package name="Boldgrid\Backup\Admin\Card">
5
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/card/class-backups.php">
6
  <class name="Backups" namespace="Boldgrid\Backup\Admin\Card">
2350
  <line num="713" type="stmt" count="1"/>
2351
  <line num="715" type="stmt" count="1"/>
2352
  <line num="717" type="stmt" count="1"/>
2353
+ <line num="729" type="method" name="get_core" visibility="public" complexity="1" crap="1" count="8"/>
2354
+ <line num="730" type="stmt" count="8"/>
2355
  <line num="740" type="method" name="init_premium" visibility="public" complexity="5" crap="30" count="0"/>
2356
  <line num="741" type="stmt" count="0"/>
2357
  <line num="743" type="stmt" count="0"/>
2853
  <line num="1835" type="stmt" count="4"/>
2854
  <line num="1836" type="stmt" count="0"/>
2855
  <line num="1838" type="stmt" count="4"/>
2856
+ <line num="1839" type="stmt" count="3"/>
2857
  <line num="1842" type="stmt" count="4"/>
2858
  <line num="1843" type="stmt" count="3"/>
2859
  <line num="1846" type="stmt" count="4"/>
4007
  </file>
4008
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-dump.php">
4009
  <class name="Boldgrid_Backup_Admin_Db_Dump" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
4010
+ <metrics complexity="13" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="26" elements="71" coveredelements="27"/>
4011
  </class>
4012
  <line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
4013
  <line num="40" type="stmt" count="17"/>
4014
  <line num="41" type="stmt" count="17"/>
4015
+ <line num="51" type="method" name="dump" visibility="public" complexity="3" crap="3.00" count="3"/>
4016
  <line num="52" type="stmt" count="3"/>
4017
  <line num="53" type="stmt" count="3"/>
4018
  <line num="54" type="stmt" count="0"/>
4019
+ <line num="66" type="stmt" count="3"/>
4020
+ <line num="67" type="stmt" count="3"/>
4021
+ <line num="69" type="stmt" count="3"/>
4022
+ <line num="71" type="stmt" count="3"/>
4023
+ <line num="72" type="stmt" count="3"/>
 
4024
  <line num="73" type="stmt" count="3"/>
4025
+ <line num="75" type="stmt" count="3"/>
 
 
 
 
4026
  <line num="82" type="stmt" count="3"/>
 
4027
  <line num="85" type="stmt" count="3"/>
4028
+ <line num="88" type="stmt" count="3"/>
4029
+ <line num="89" type="stmt" count="3"/>
4030
+ <line num="90" type="stmt" count="3"/>
4031
+ <line num="91" type="stmt" count="3"/>
4032
+ <line num="93" type="stmt" count="3"/>
4033
+ <line num="94" type="stmt" count="3"/>
4034
+ <line num="95" type="stmt" count="3"/>
4035
  <line num="96" type="stmt" count="3"/>
4036
  <line num="98" type="stmt" count="3"/>
4037
+ <line num="99" type="stmt" count="3"/>
4038
+ <line num="100" type="stmt" count="3"/>
4039
+ <line num="101" type="stmt" count="0"/>
4040
+ <line num="109" type="stmt" count="3"/>
4041
+ <line num="111" type="stmt" count="3"/>
4042
+ <line num="123" type="method" name="get_insert_count" visibility="public" complexity="7" crap="56" count="0"/>
4043
+ <line num="124" type="stmt" count="0"/>
4044
+ <line num="125" type="stmt" count="0"/>
4045
+ <line num="127" type="stmt" count="0"/>
4046
+ <line num="129" type="stmt" count="0"/>
4047
+ <line num="132" type="stmt" count="0"/>
4048
  <line num="133" type="stmt" count="0"/>
4049
  <line num="134" type="stmt" count="0"/>
4050
  <line num="136" type="stmt" count="0"/>
4051
+ <line num="139" type="stmt" count="0"/>
4052
+ <line num="146" type="stmt" count="0"/>
4053
+ <line num="147" type="stmt" count="0"/>
4054
+ <line num="149" type="stmt" count="0"/>
4055
+ <line num="150" type="stmt" count="0"/>
4056
+ <line num="151" type="stmt" count="0"/>
4057
+ <line num="154" type="stmt" count="0"/>
4058
+ <line num="156" type="stmt" count="0"/>
 
 
 
 
 
 
4059
  <line num="171" type="stmt" count="0"/>
4060
  <line num="172" type="stmt" count="0"/>
4061
+ <line num="173" type="stmt" count="0"/>
4062
+ <line num="175" type="stmt" count="0"/>
4063
+ <line num="176" type="stmt" count="0"/>
4064
+ <line num="177" type="stmt" count="0"/>
4065
+ <line num="178" type="stmt" count="0"/>
4066
+ <line num="179" type="stmt" count="0"/>
4067
+ <line num="181" type="stmt" count="0"/>
4068
+ <line num="182" type="stmt" count="0"/>
4069
+ <line num="184" type="stmt" count="0"/>
4070
+ <line num="185" type="stmt" count="0"/>
4071
  <line num="187" type="stmt" count="0"/>
4072
+ <line num="199" type="method" name="get_insert_tables" visibility="public" complexity="2" crap="6" count="0"/>
4073
+ <line num="200" type="stmt" count="0"/>
4074
+ <line num="201" type="stmt" count="0"/>
4075
+ <line num="216" type="stmt" count="0"/>
4076
+ <line num="217" type="stmt" count="0"/>
4077
+ <line num="218" type="stmt" count="0"/>
4078
+ <line num="219" type="stmt" count="0"/>
4079
+ <line num="220" type="stmt" count="0"/>
4080
+ <line num="221" type="stmt" count="0"/>
4081
+ <line num="224" type="stmt" count="0"/>
4082
+ <line num="226" type="stmt" count="0"/>
4083
+ <metrics loc="228" ncloc="109" classes="1" methods="4" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="67" coveredstatements="26" elements="71" coveredelements="27"/>
4084
  </file>
4085
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-get.php">
4086
  <class name="Boldgrid_Backup_Admin_Db_Get" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
4087
+ <metrics complexity="11" methods="5" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="35" elements="49" coveredelements="38"/>
4088
  </class>
4089
  <line num="39" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="17"/>
4090
  <line num="40" type="stmt" count="17"/>
4091
  <line num="41" type="stmt" count="17"/>
4092
+ <line num="55" type="method" name="get_by_type" visibility="public" complexity="3" crap="3.00" count="5"/>
4093
+ <line num="56" type="stmt" count="5"/>
4094
+ <line num="58" type="stmt" count="5"/>
4095
+ <line num="61" type="stmt" count="5"/>
4096
+ <line num="62" type="stmt" count="5"/>
4097
+ <line num="63" type="stmt" count="0"/>
4098
+ <line num="72" type="stmt" count="5"/>
4099
+ <line num="73" type="stmt" count="5"/>
4100
+ <line num="74" type="stmt" count="5"/>
4101
+ <line num="76" type="stmt" count="5"/>
4102
+ <line num="78" type="stmt" count="5"/>
4103
+ <line num="81" type="stmt" count="5"/>
4104
+ <line num="82" type="stmt" count="5"/>
4105
+ <line num="83" type="stmt" count="5"/>
4106
+ <line num="85" type="stmt" count="5"/>
4107
+ <line num="100" type="method" name="filter_by_type" visibility="public" complexity="3" crap="3" count="4"/>
4108
+ <line num="102" type="stmt" count="4"/>
4109
+ <line num="104" type="stmt" count="4"/>
4110
+ <line num="106" type="stmt" count="4"/>
4111
+ <line num="107" type="stmt" count="4"/>
4112
+ <line num="108" type="stmt" count="4"/>
4113
+ <line num="109" type="stmt" count="4"/>
4114
+ <line num="110" type="stmt" count="4"/>
4115
+ <line num="112" type="stmt" count="4"/>
4116
+ <line num="124" type="method" name="prefixed" visibility="public" complexity="2" crap="2" count="4"/>
4117
+ <line num="125" type="stmt" count="4"/>
4118
+ <line num="127" type="stmt" count="4"/>
4119
+ <line num="129" type="stmt" count="4"/>
4120
+ <line num="130" type="stmt" count="4"/>
4121
+ <line num="131" type="stmt" count="4"/>
4122
+ <line num="132" type="stmt" count="4"/>
4123
+ <line num="133" type="stmt" count="4"/>
4124
+ <line num="135" type="stmt" count="4"/>
4125
+ <line num="137" type="stmt" count="4"/>
4126
+ <line num="138" type="stmt" count="4"/>
4127
+ <line num="139" type="stmt" count="4"/>
4128
+ <line num="141" type="stmt" count="4"/>
4129
+ <line num="156" type="method" name="prefixed_count" visibility="public" complexity="2" crap="6" count="0"/>
4130
+ <line num="157" type="stmt" count="0"/>
4131
+ <line num="159" type="stmt" count="0"/>
4132
+ <line num="161" type="stmt" count="0"/>
4133
+ <line num="163" type="stmt" count="0"/>
4134
+ <line num="164" type="stmt" count="0"/>
4135
+ <line num="166" type="stmt" count="0"/>
4136
+ <line num="167" type="stmt" count="0"/>
4137
+ <line num="169" type="stmt" count="0"/>
4138
+ <metrics loc="171" ncloc="79" classes="1" methods="5" coveredmethods="3" conditionals="0" coveredconditionals="0" statements="44" coveredstatements="35" elements="49" coveredelements="38"/>
4139
  </file>
4140
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/admin/class-boldgrid-backup-admin-db-import.php">
4141
  <class name="Boldgrid_Backup_Admin_Db_Import" namespace="global" fullPackage="Boldgrid.Backup.Admin.Db">
67634
  </file>
67635
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-core.php">
67636
  <class name="Test_Boldgrid_Backup_Admin_Core" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
67637
+ <metrics complexity="22" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="114" coveredstatements="114" elements="123" coveredelements="123"/>
67638
  </class>
67639
  <line num="41" type="method" name="assertDirNotEmpty" visibility="public" complexity="5" crap="5" count="1"/>
67640
  <line num="42" type="stmt" count="1"/>
67650
  <line num="54" type="stmt" count="1"/>
67651
  <line num="66" type="stmt" count="1"/>
67652
  <line num="67" type="stmt" count="1"/>
67653
+ <line num="110" type="method" name="dropTable" visibility="public" complexity="1" crap="1" count="2"/>
67654
+ <line num="111" type="stmt" count="2"/>
67655
+ <line num="113" type="stmt" count="2"/>
67656
+ <line num="114" type="stmt" count="2"/>
67657
+ <line num="124" type="method" name="createWpconfig" visibility="public" complexity="1" crap="1" count="1"/>
 
 
 
 
 
 
67658
  <line num="126" type="stmt" count="1"/>
67659
  <line num="127" type="stmt" count="1"/>
67660
+ <line num="128" type="stmt" count="1"/>
67661
+ <line num="129" type="stmt" count="1"/>
67662
+ <line num="130" type="stmt" count="1"/>
67663
+ <line num="132" type="stmt" count="1"/>
67664
+ <line num="134" type="stmt" count="1"/>
67665
+ <line num="135" type="stmt" count="1"/>
67666
+ <line num="148" type="method" name="deleteBasic" visibility="public" complexity="7" crap="7" count="2"/>
67667
  <line num="149" type="stmt" count="2"/>
67668
+ <line num="152" type="stmt" count="2"/>
67669
  <line num="153" type="stmt" count="2"/>
67670
  <line num="154" type="stmt" count="2"/>
67671
  <line num="155" type="stmt" count="2"/>
 
 
67672
  <line num="158" type="stmt" count="2"/>
67673
+ <line num="159" type="stmt" count="2"/>
67674
  <line num="160" type="stmt" count="2"/>
67675
+ <line num="163" type="stmt" count="2"/>
 
67676
  <line num="164" type="stmt" count="2"/>
67677
+ <line num="165" type="stmt" count="2"/>
67678
  <line num="166" type="stmt" count="2"/>
67679
  <line num="167" type="stmt" count="2"/>
67680
  <line num="168" type="stmt" count="2"/>
 
67681
  <line num="170" type="stmt" count="2"/>
67682
  <line num="171" type="stmt" count="2"/>
67683
  <line num="172" type="stmt" count="2"/>
67684
+ <line num="174" type="stmt" count="2"/>
 
67685
  <line num="176" type="stmt" count="2"/>
67686
  <line num="177" type="stmt" count="2"/>
67687
  <line num="178" type="stmt" count="2"/>
 
67688
  <line num="181" type="stmt" count="2"/>
67689
+ <line num="182" type="stmt" count="2"/>
67690
+ <line num="183" type="stmt" count="2"/>
67691
+ <line num="184" type="stmt" count="2"/>
67692
+ <line num="186" type="stmt" count="2"/>
67693
+ <line num="187" type="stmt" count="2"/>
67694
+ <line num="188" type="stmt" count="2"/>
67695
+ <line num="189" type="stmt" count="2"/>
67696
+ <line num="190" type="stmt" count="2"/>
67697
+ <line num="192" type="stmt" count="2"/>
67698
  <line num="193" type="stmt" count="2"/>
67699
+ <line num="194" type="stmt" count="2"/>
67700
  <line num="195" type="stmt" count="2"/>
67701
+ <line num="198" type="stmt" count="2"/>
67702
  <line num="199" type="stmt" count="2"/>
67703
+ <line num="201" type="stmt" count="2"/>
 
67704
  <line num="203" type="stmt" count="2"/>
67705
+ <line num="212" type="method" name="getTables" visibility="public" complexity="2" crap="2" count="2"/>
67706
+ <line num="213" type="stmt" count="2"/>
67707
+ <line num="215" type="stmt" count="2"/>
67708
+ <line num="217" type="stmt" count="2"/>
67709
+ <line num="219" type="stmt" count="2"/>
67710
+ <line num="221" type="stmt" count="2"/>
67711
+ <line num="222" type="stmt" count="2"/>
67712
+ <line num="224" type="stmt" count="2"/>
67713
+ <line num="225" type="stmt" count="2"/>
67714
+ <line num="227" type="stmt" count="2"/>
67715
+ <line num="235" type="method" name="setUp" visibility="public" complexity="1" crap="1" count="3"/>
67716
+ <line num="236" type="stmt" count="3"/>
67717
+ <line num="238" type="stmt" count="3"/>
67718
+ <line num="240" type="stmt" count="3"/>
67719
+ <line num="242" type="stmt" count="3"/>
67720
+ <line num="243" type="stmt" count="3"/>
67721
+ <line num="250" type="method" name="test_archive_files" visibility="public" complexity="1" crap="1" count="1"/>
67722
  <line num="251" type="stmt" count="1"/>
67723
+ <line num="254" type="stmt" count="1"/>
67724
+ <line num="255" type="stmt" count="1"/>
 
67725
  <line num="268" type="stmt" count="1"/>
67726
+ <line num="269" type="stmt" count="1"/>
67727
  <line num="270" type="stmt" count="1"/>
67728
+ <line num="271" type="stmt" count="1"/>
67729
  <line num="273" type="stmt" count="1"/>
67730
+ <line num="276" type="stmt" count="1"/>
 
 
67731
  <line num="279" type="stmt" count="1"/>
67732
+ <line num="282" type="stmt" count="1"/>
67733
+ <line num="283" type="stmt" count="1"/>
67734
+ <line num="284" type="stmt" count="1"/>
67735
+ <line num="285" type="stmt" count="1"/>
67736
+ <line num="288" type="stmt" count="1"/>
67737
+ <line num="289" type="stmt" count="1"/>
67738
+ <line num="290" type="stmt" count="1"/>
67739
+ <line num="297" type="method" name="test_restore_archive_file" visibility="public" complexity="2" crap="2" count="1"/>
 
 
67740
  <line num="305" type="stmt" count="1"/>
67741
+ <line num="306" type="stmt" count="1"/>
67742
  <line num="307" type="stmt" count="1"/>
67743
+ <line num="309" type="stmt" count="1"/>
67744
+ <line num="312" type="stmt" count="1"/>
67745
+ <line num="313" type="stmt" count="1"/>
67746
+ <line num="314" type="stmt" count="1"/>
67747
+ <line num="316" type="stmt" count="1"/>
67748
+ <line num="318" type="stmt" count="1"/>
67749
+ <line num="319" type="stmt" count="1"/>
67750
+ <line num="329" type="method" name="test_restore_cli" visibility="public" complexity="2" crap="2" count="1"/>
67751
+ <line num="330" type="stmt" count="1"/>
67752
+ <line num="332" type="stmt" count="1"/>
67753
+ <line num="333" type="stmt" count="1"/>
67754
+ <line num="334" type="stmt" count="1"/>
67755
+ <line num="336" type="stmt" count="1"/>
67756
+ <line num="339" type="stmt" count="1"/>
67757
+ <line num="340" type="stmt" count="1"/>
67758
+ <line num="341" type="stmt" count="1"/>
67759
+ <line num="344" type="stmt" count="1"/>
67760
+ <line num="346" type="stmt" count="1"/>
67761
+ <line num="347" type="stmt" count="1"/>
67762
+ <metrics loc="348" ncloc="171" classes="1" methods="9" coveredmethods="9" conditionals="0" coveredconditionals="0" statements="114" coveredstatements="114" elements="123" coveredelements="123"/>
67763
  </file>
67764
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-cron.php">
67765
  <class name="Test_Boldgrid_Backup_Admin_Cron" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
67954
  <line num="87" type="stmt" count="1"/>
67955
  <metrics loc="88" ncloc="47" classes="1" methods="2" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="37" coveredstatements="28" elements="39" coveredelements="29"/>
67956
  </file>
67957
+ <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-db-get.php">
67958
+ <class name="Test_Boldgrid_Backup_Admin_Db_Get" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin.Db">
67959
+ <metrics complexity="2" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="35" elements="37" coveredelements="37"/>
67960
+ </class>
67961
+ <line num="26" type="method" name="test_filter_by_type" visibility="public" complexity="1" crap="1" count="1"/>
67962
+ <line num="27" type="stmt" count="1"/>
67963
+ <line num="29" type="stmt" count="1"/>
67964
+ <line num="31" type="stmt" count="1"/>
67965
+ <line num="38" type="stmt" count="1"/>
67966
+ <line num="39" type="stmt" count="1"/>
67967
+ <line num="42" type="stmt" count="1"/>
67968
+ <line num="49" type="stmt" count="1"/>
67969
+ <line num="50" type="stmt" count="1"/>
67970
+ <line num="53" type="stmt" count="1"/>
67971
+ <line num="56" type="stmt" count="1"/>
67972
+ <line num="59" type="stmt" count="1"/>
67973
+ <line num="66" type="stmt" count="1"/>
67974
+ <line num="67" type="stmt" count="1"/>
67975
+ <line num="68" type="stmt" count="1"/>
67976
+ <line num="69" type="stmt" count="1"/>
67977
+ <line num="70" type="stmt" count="1"/>
67978
+ <line num="79" type="method" name="test_get_by_type" visibility="public" complexity="1" crap="1" count="1"/>
67979
+ <line num="80" type="stmt" count="1"/>
67980
+ <line num="82" type="stmt" count="1"/>
67981
+ <line num="84" type="stmt" count="1"/>
67982
+ <line num="91" type="stmt" count="1"/>
67983
+ <line num="92" type="stmt" count="1"/>
67984
+ <line num="93" type="stmt" count="1"/>
67985
+ <line num="100" type="stmt" count="1"/>
67986
+ <line num="101" type="stmt" count="1"/>
67987
+ <line num="104" type="stmt" count="1"/>
67988
+ <line num="105" type="stmt" count="1"/>
67989
+ <line num="106" type="stmt" count="1"/>
67990
+ <line num="107" type="stmt" count="1"/>
67991
+ <line num="113" type="stmt" count="1"/>
67992
+ <line num="114" type="stmt" count="1"/>
67993
+ <line num="117" type="stmt" count="1"/>
67994
+ <line num="118" type="stmt" count="1"/>
67995
+ <line num="119" type="stmt" count="1"/>
67996
+ <line num="120" type="stmt" count="1"/>
67997
+ <line num="121" type="stmt" count="1"/>
67998
+ <metrics loc="122" ncloc="44" classes="1" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="35" coveredstatements="35" elements="37" coveredelements="37"/>
67999
+ </file>
68000
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/tests/admin/test-class-boldgrid-backup-admin-test.php">
68001
  <class name="Test_Boldgrid_Backup_Admin_Test" namespace="global" fullPackage="Test.Boldgrid.Backup.Admin">
68002
  <metrics complexity="2" methods="2" coveredmethods="2" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="8" elements="10" coveredelements="10"/>
73041
  <metrics loc="445" ncloc="281" classes="1" methods="21" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="216" coveredstatements="0" elements="237" coveredelements="0"/>
73042
  </file>
73043
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_static.php">
73044
+ <class name="ComposerStaticInit33375066d3c33a409e6153965725b8a0" namespace="Composer\Autoload">
73045
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="5" coveredstatements="0" elements="7" coveredelements="0"/>
73046
  </class>
73047
  <line num="91" type="method" name="getInitializer" visibility="public" complexity="1" crap="2" count="0"/>
73133
  <metrics loc="12" ncloc="10" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="7" coveredstatements="0" elements="7" coveredelements="0"/>
73134
  </file>
73135
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/composer/autoload_real.php">
73136
+ <class name="ComposerAutoloaderInit33375066d3c33a409e6153965725b8a0" namespace="global">
73137
  <metrics complexity="13" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="41" coveredstatements="0" elements="43" coveredelements="0"/>
73138
  </class>
73139
  <line num="9" type="method" name="loadClassLoader" visibility="public" complexity="2" crap="6" count="0"/>
73190
  <package name="Ifsnop\Mysqldump">
73191
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/ifsnop/mysqldump-php/src/Ifsnop/Mysqldump/Mysqldump.php">
73192
  <class name="Mysqldump" namespace="Ifsnop\Mysqldump" category="Library">
73193
+ <metrics complexity="106" methods="28" coveredmethods="6" conditionals="0" coveredconditionals="0" statements="355" coveredstatements="271" elements="383" coveredelements="277"/>
73194
  </class>
73195
  <class name="CompressMethod" namespace="Ifsnop\Mysqldump">
73196
  <metrics complexity="1" methods="1" coveredmethods="1" conditionals="0" coveredconditionals="0" statements="1" coveredstatements="1" elements="2" coveredelements="2"/>
73228
  <class name="TypeAdapterMysql" namespace="Ifsnop\Mysqldump">
73229
  <metrics complexity="1" methods="1" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="11" coveredstatements="0" elements="12" coveredelements="0"/>
73230
  </class>
73231
+ <line num="125" type="method" name="__construct" visibility="public" complexity="7" crap="7.02" count="3"/>
73232
  <line num="133" type="stmt" count="3"/>
73233
  <line num="134" type="stmt" count="3"/>
73234
  <line num="135" type="stmt" count="3"/>
73259
  <line num="160" type="stmt" count="3"/>
73260
  <line num="161" type="stmt" count="3"/>
73261
  <line num="162" type="stmt" count="3"/>
73262
+ <line num="163" type="stmt" count="3"/>
73263
+ <line num="166" type="stmt" count="3"/>
73264
  <line num="169" type="stmt" count="3"/>
73265
  <line num="170" type="stmt" count="3"/>
73266
+ <line num="171" type="stmt" count="3"/>
73267
  <line num="173" type="stmt" count="3"/>
73268
  <line num="174" type="stmt" count="3"/>
73269
+ <line num="175" type="stmt" count="3"/>
73270
  <line num="178" type="stmt" count="3"/>
73271
  <line num="179" type="stmt" count="3"/>
73272
+ <line num="180" type="stmt" count="3"/>
73273
  <line num="182" type="stmt" count="3"/>
73274
  <line num="183" type="stmt" count="3"/>
73275
+ <line num="184" type="stmt" count="3"/>
73276
  <line num="186" type="stmt" count="3"/>
73277
  <line num="187" type="stmt" count="3"/>
73278
+ <line num="188" type="stmt" count="3"/>
73279
  <line num="190" type="stmt" count="3"/>
73280
+ <line num="191" type="stmt" count="3"/>
73281
+ <line num="192" type="stmt" count="0"/>
73282
  <line num="195" type="stmt" count="3"/>
73283
+ <line num="196" type="stmt" count="3"/>
73284
+ <line num="197" type="stmt" count="0"/>
73285
+ <line num="201" type="stmt" count="3"/>
73286
+ <line num="202" type="stmt" count="0"/>
73287
+ <line num="203" type="stmt" count="0"/>
73288
+ <line num="206" type="stmt" count="3"/>
73289
+ <line num="207" type="stmt" count="3"/>
73290
+ <line num="212" type="method" name="__destruct" visibility="public" complexity="1" crap="1" count="3"/>
73291
+ <line num="214" type="stmt" count="3"/>
73292
+ <line num="215" type="stmt" count="3"/>
73293
+ <line num="226" type="method" name="array_replace_recursive" visibility="public" complexity="4" crap="11.53" count="3"/>
73294
+ <line num="228" type="stmt" count="3"/>
73295
+ <line num="229" type="stmt" count="3"/>
73296
  <line num="232" type="stmt" count="0"/>
73297
  <line num="233" type="stmt" count="0"/>
73298
+ <line num="234" type="stmt" count="0"/>
73299
  <line num="235" type="stmt" count="0"/>
73300
  <line num="236" type="stmt" count="0"/>
73301
+ <line num="238" type="stmt" count="0"/>
73302
+ <line num="239" type="stmt" count="0"/>
73303
+ <line num="248" type="method" name="setTableWheres" visibility="public" complexity="1" crap="2" count="0"/>
73304
+ <line num="250" type="stmt" count="0"/>
73305
+ <line num="251" type="stmt" count="0"/>
73306
+ <line num="258" type="method" name="getTableWhere" visibility="public" complexity="3" crap="3.58" count="3"/>
73307
+ <line num="260" type="stmt" count="3"/>
73308
+ <line num="261" type="stmt" count="0"/>
73309
+ <line num="262" type="stmt" count="3"/>
73310
+ <line num="263" type="stmt" count="0"/>
73311
+ <line num="266" type="stmt" count="3"/>
73312
+ <line num="275" type="method" name="setTableLimits" visibility="public" complexity="1" crap="2" count="0"/>
73313
+ <line num="277" type="stmt" count="0"/>
73314
+ <line num="278" type="stmt" count="0"/>
73315
+ <line num="285" type="method" name="getTableLimit" visibility="public" complexity="3" crap="5.67" count="3"/>
73316
+ <line num="287" type="stmt" count="3"/>
73317
+ <line num="288" type="stmt" count="3"/>
73318
+ <line num="291" type="stmt" count="0"/>
73319
+ <line num="292" type="stmt" count="0"/>
73320
  <line num="293" type="stmt" count="0"/>
73321
+ <line num="296" type="stmt" count="0"/>
73322
+ <line num="309" type="method" name="parseDsn" visibility="private" complexity="9" crap="9.65" count="3"/>
73323
+ <line num="311" type="stmt" count="3"/>
73324
+ <line num="312" type="stmt" count="0"/>
 
73325
  <line num="315" type="stmt" count="3"/>
73326
+ <line num="316" type="stmt" count="3"/>
73327
+ <line num="318" type="stmt" count="3"/>
73328
+ <line num="319" type="stmt" count="0"/>
73329
  <line num="322" type="stmt" count="3"/>
 
73330
  <line num="324" type="stmt" count="3"/>
73331
+ <line num="325" type="stmt" count="3"/>
73332
  <line num="326" type="stmt" count="3"/>
73333
  <line num="327" type="stmt" count="3"/>
73334
+ <line num="329" type="stmt" count="3"/>
73335
  <line num="330" type="stmt" count="3"/>
73336
+ <line num="331" type="stmt" count="0"/>
73337
  <line num="333" type="stmt" count="3"/>
73338
+ <line num="334" type="stmt" count="3"/>
73339
+ <line num="336" type="stmt" count="3"/>
73340
+ <line num="337" type="stmt" count="0"/>
73341
+ <line num="340" type="stmt" count="3"/>
73342
+ <line num="342" type="stmt" count="3"/>
73343
+ <line num="350" type="method" name="connect" visibility="private" complexity="8" crap="9.57" count="3"/>
73344
+ <line num="354" type="stmt" count="3"/>
 
73345
  <line num="355" type="stmt" count="3"/>
73346
+ <line num="356" type="stmt" count="0"/>
73347
+ <line num="357" type="stmt" count="0"/>
73348
  <line num="358" type="stmt" count="3"/>
73349
  <line num="359" type="stmt" count="3"/>
73350
  <line num="360" type="stmt" count="3"/>
73351
  <line num="361" type="stmt" count="3"/>
73352
  <line num="362" type="stmt" count="3"/>
73353
  <line num="363" type="stmt" count="3"/>
73354
+ <line num="364" type="stmt" count="3"/>
73355
  <line num="365" type="stmt" count="3"/>
73356
  <line num="366" type="stmt" count="3"/>
73357
+ <line num="368" type="stmt" count="3"/>
73358
  <line num="369" type="stmt" count="3"/>
73359
  <line num="370" type="stmt" count="3"/>
73360
+ <line num="372" type="stmt" count="3"/>
 
73361
  <line num="373" type="stmt" count="3"/>
73362
+ <line num="374" type="stmt" count="0"/>
73363
  <line num="375" type="stmt" count="0"/>
73364
+ <line num="376" type="stmt" count="3"/>
73365
+ <line num="377" type="stmt" count="3"/>
73366
  <line num="378" type="stmt" count="0"/>
73367
+ <line num="379" type="stmt" count="0"/>
73368
+ <line num="380" type="stmt" count="0"/>
73369
+ <line num="381" type="stmt" count="0"/>
73370
+ <line num="384" type="stmt" count="3"/>
73371
+ <line num="385" type="stmt" count="0"/>
73372
+ <line num="388" type="stmt" count="3"/>
73373
+ <line num="389" type="stmt" count="3"/>
73374
+ <line num="390" type="stmt" count="3"/>
73375
+ <line num="399" type="method" name="start" visibility="public" complexity="6" crap="7.33" count="3"/>
73376
+ <line num="402" type="stmt" count="3"/>
73377
+ <line num="403" type="stmt" count="3"/>
73378
  <line num="404" type="stmt" count="3"/>
73379
  <line num="407" type="stmt" count="3"/>
73380
  <line num="410" type="stmt" count="3"/>
73381
  <line num="413" type="stmt" count="3"/>
73382
+ <line num="416" type="stmt" count="3"/>
 
73383
  <line num="417" type="stmt" count="3"/>
73384
+ <line num="418" type="stmt" count="3"/>
73385
+ <line num="420" type="stmt" count="3"/>
 
73386
  <line num="421" type="stmt" count="0"/>
73387
  <line num="422" type="stmt" count="0"/>
73388
  <line num="423" type="stmt" count="0"/>
73389
  <line num="424" type="stmt" count="0"/>
73390
  <line num="425" type="stmt" count="0"/>
73391
  <line num="426" type="stmt" count="0"/>
73392
+ <line num="427" type="stmt" count="0"/>
73393
+ <line num="428" type="stmt" count="0"/>
73394
+ <line num="429" type="stmt" count="0"/>
73395
  <line num="433" type="stmt" count="3"/>
73396
  <line num="434" type="stmt" count="3"/>
73397
  <line num="435" type="stmt" count="3"/>
73398
+ <line num="436" type="stmt" count="3"/>
73399
  <line num="437" type="stmt" count="3"/>
73400
+ <line num="438" type="stmt" count="3"/>
73401
+ <line num="440" type="stmt" count="3"/>
 
73402
  <line num="441" type="stmt" count="0"/>
73403
+ <line num="442" type="stmt" count="0"/>
73404
+ <line num="443" type="stmt" count="0"/>
73405
+ <line num="444" type="stmt" count="0"/>
73406
+ <line num="450" type="stmt" count="3"/>
73407
+ <line num="451" type="stmt" count="0"/>
73408
+ <line num="452" type="stmt" count="0"/>
73409
  <line num="455" type="stmt" count="3"/>
73410
  <line num="456" type="stmt" count="3"/>
73411
  <line num="457" type="stmt" count="3"/>
73412
+ <line num="458" type="stmt" count="3"/>
73413
+ <line num="459" type="stmt" count="3"/>
73414
  <line num="460" type="stmt" count="3"/>
73415
+ <line num="463" type="stmt" count="3"/>
 
73416
  <line num="464" type="stmt" count="3"/>
73417
+ <line num="465" type="stmt" count="3"/>
73418
+ <line num="467" type="stmt" count="3"/>
73419
+ <line num="469" type="stmt" count="3"/>
73420
+ <line num="471" type="stmt" count="3"/>
73421
+ <line num="479" type="method" name="getDumpFileHeader" visibility="private" complexity="4" crap="4" count="3"/>
73422
  <line num="481" type="stmt" count="3"/>
73423
  <line num="482" type="stmt" count="3"/>
 
73424
  <line num="484" type="stmt" count="3"/>
73425
+ <line num="485" type="stmt" count="3"/>
73426
  <line num="486" type="stmt" count="3"/>
73427
  <line num="487" type="stmt" count="3"/>
73428
+ <line num="489" type="stmt" count="3"/>
73429
  <line num="490" type="stmt" count="3"/>
73430
  <line num="491" type="stmt" count="3"/>
 
73431
  <line num="493" type="stmt" count="3"/>
73432
  <line num="494" type="stmt" count="3"/>
73433
+ <line num="495" type="stmt" count="3"/>
73434
+ <line num="496" type="stmt" count="3"/>
73435
+ <line num="497" type="stmt" count="3"/>
73436
+ <line num="505" type="method" name="getDumpFileFooter" visibility="private" complexity="3" crap="3" count="3"/>
73437
  <line num="507" type="stmt" count="3"/>
73438
  <line num="508" type="stmt" count="3"/>
73439
  <line num="509" type="stmt" count="3"/>
73440
  <line num="510" type="stmt" count="3"/>
73441
  <line num="511" type="stmt" count="3"/>
73442
+ <line num="512" type="stmt" count="3"/>
73443
  <line num="513" type="stmt" count="3"/>
73444
+ <line num="514" type="stmt" count="3"/>
73445
+ <line num="516" type="stmt" count="3"/>
73446
+ <line num="525" type="method" name="getDatabaseStructureTables" visibility="private" complexity="5" crap="5.39" count="3"/>
73447
+ <line num="528" type="stmt" count="3"/>
 
73448
  <line num="530" type="stmt" count="0"/>
73449
+ <line num="531" type="stmt" count="0"/>
73450
+ <line num="532" type="stmt" count="0"/>
73451
+ <line num="533" type="stmt" count="0"/>
73452
  <line num="535" type="stmt" count="3"/>
73453
  <line num="536" type="stmt" count="3"/>
73454
  <line num="537" type="stmt" count="3"/>
73456
  <line num="539" type="stmt" count="3"/>
73457
  <line num="540" type="stmt" count="3"/>
73458
  <line num="541" type="stmt" count="3"/>
73459
+ <line num="542" type="stmt" count="3"/>
73460
  <line num="543" type="stmt" count="3"/>
73461
+ <line num="544" type="stmt" count="3"/>
73462
+ <line num="546" type="stmt" count="3"/>
73463
+ <line num="555" type="method" name="getDatabaseStructureViews" visibility="private" complexity="5" crap="5.39" count="3"/>
73464
+ <line num="558" type="stmt" count="3"/>
 
73465
  <line num="560" type="stmt" count="0"/>
73466
+ <line num="561" type="stmt" count="0"/>
73467
+ <line num="562" type="stmt" count="0"/>
73468
  <line num="563" type="stmt" count="0"/>
73469
+ <line num="565" type="stmt" count="3"/>
73470
+ <line num="566" type="stmt" count="3"/>
73471
+ <line num="567" type="stmt" count="3"/>
73472
+ <line num="568" type="stmt" count="3"/>
73473
+ <line num="569" type="stmt" count="3"/>
73474
+ <line num="570" type="stmt" count="3"/>
 
73475
  <line num="571" type="stmt" count="3"/>
73476
+ <line num="572" type="stmt" count="3"/>
73477
  <line num="573" type="stmt" count="3"/>
73478
+ <line num="574" type="stmt" count="3"/>
73479
+ <line num="576" type="stmt" count="3"/>
73480
+ <line num="585" type="method" name="getDatabaseStructureTriggers" visibility="private" complexity="3" crap="3.04" count="3"/>
 
73481
  <line num="588" type="stmt" count="3"/>
73482
  <line num="589" type="stmt" count="3"/>
73483
+ <line num="590" type="stmt" count="0"/>
73484
+ <line num="591" type="stmt" count="3"/>
73485
+ <line num="592" type="stmt" count="3"/>
73486
+ <line num="593" type="stmt" count="3"/>
73487
+ <line num="602" type="method" name="getDatabaseStructureProcedures" visibility="private" complexity="3" crap="5.67" count="3"/>
73488
+ <line num="605" type="stmt" count="3"/>
73489
  <line num="606" type="stmt" count="0"/>
73490
+ <line num="607" type="stmt" count="0"/>
73491
+ <line num="608" type="stmt" count="0"/>
73492
+ <line num="609" type="stmt" count="0"/>
73493
+ <line num="610" type="stmt" count="3"/>
73494
+ <line num="619" type="method" name="getDatabaseStructureFunctions" visibility="private" complexity="3" crap="5.67" count="3"/>
73495
+ <line num="622" type="stmt" count="3"/>
73496
  <line num="623" type="stmt" count="0"/>
73497
+ <line num="624" type="stmt" count="0"/>
73498
+ <line num="625" type="stmt" count="0"/>
73499
+ <line num="626" type="stmt" count="0"/>
73500
+ <line num="627" type="stmt" count="3"/>
73501
+ <line num="636" type="method" name="getDatabaseStructureEvents" visibility="private" complexity="3" crap="5.67" count="3"/>
73502
+ <line num="639" type="stmt" count="3"/>
73503
  <line num="640" type="stmt" count="0"/>
73504
+ <line num="641" type="stmt" count="0"/>
73505
+ <line num="642" type="stmt" count="0"/>
73506
+ <line num="643" type="stmt" count="0"/>
73507
+ <line num="644" type="stmt" count="3"/>
73508
+ <line num="653" type="method" name="matches" visibility="private" complexity="5" crap="9.29" count="3"/>
73509
+ <line num="655" type="stmt" count="3"/>
73510
+ <line num="657" type="stmt" count="3"/>
73511
  <line num="658" type="stmt" count="0"/>
73512
  <line num="659" type="stmt" count="0"/>
73513
+ <line num="661" type="stmt" count="0"/>
73514
+ <line num="662" type="stmt" count="0"/>
73515
+ <line num="663" type="stmt" count="0"/>
73516
+ <line num="664" type="stmt" count="3"/>
73517
+ <line num="666" type="stmt" count="3"/>
73518
+ <line num="674" type="method" name="exportTables" visibility="private" complexity="6" crap="6.56" count="3"/>
73519
+ <line num="677" type="stmt" count="3"/>
73520
  <line num="678" type="stmt" count="3"/>
73521
+ <line num="679" type="stmt" count="0"/>
 
73522
  <line num="681" type="stmt" count="3"/>
73523
  <line num="682" type="stmt" count="3"/>
73524
  <line num="683" type="stmt" count="0"/>
73525
+ <line num="684" type="stmt" count="3"/>
73526
  <line num="685" type="stmt" count="3"/>
73527
+ <line num="686" type="stmt" count="0"/>
73528
  <line num="688" type="stmt" count="3"/>
73529
+ <line num="690" type="stmt" count="3"/>
73530
+ <line num="691" type="stmt" count="3"/>
73531
+ <line num="698" type="method" name="exportViews" visibility="private" complexity="6" crap="6.10" count="3"/>
73532
+ <line num="700" type="stmt" count="3"/>
73533
+ <line num="702" type="stmt" count="3"/>
73534
+ <line num="703" type="stmt" count="3"/>
73535
  <line num="704" type="stmt" count="0"/>
 
73536
  <line num="706" type="stmt" count="3"/>
73537
+ <line num="707" type="stmt" count="3"/>
73538
+ <line num="708" type="stmt" count="3"/>
73539
+ <line num="709" type="stmt" count="3"/>
73540
+ <line num="710" type="stmt" count="3"/>
73541
+ <line num="711" type="stmt" count="0"/>
73542
  <line num="713" type="stmt" count="3"/>
73543
+ <line num="714" type="stmt" count="3"/>
73544
+ <line num="715" type="stmt" count="3"/>
73545
+ <line num="716" type="stmt" count="3"/>
73546
+ <line num="723" type="method" name="exportTriggers" visibility="private" complexity="2" crap="2.06" count="3"/>
73547
  <line num="726" type="stmt" count="3"/>
73548
+ <line num="727" type="stmt" count="0"/>
73549
+ <line num="728" type="stmt" count="3"/>
73550
+ <line num="729" type="stmt" count="3"/>
73551
+ <line num="736" type="method" name="exportProcedures" visibility="private" complexity="2" crap="2.06" count="3"/>
73552
  <line num="739" type="stmt" count="3"/>
73553
+ <line num="740" type="stmt" count="0"/>
73554
+ <line num="741" type="stmt" count="3"/>
73555
+ <line num="742" type="stmt" count="3"/>
73556
+ <line num="749" type="method" name="exportFunctions" visibility="private" complexity="2" crap="2.06" count="3"/>
73557
  <line num="752" type="stmt" count="3"/>
73558
+ <line num="753" type="stmt" count="0"/>
73559
+ <line num="754" type="stmt" count="3"/>
73560
+ <line num="755" type="stmt" count="3"/>
73561
+ <line num="762" type="method" name="exportEvents" visibility="private" complexity="2" crap="2.06" count="3"/>
73562
  <line num="765" type="stmt" count="3"/>
73563
+ <line num="766" type="stmt" count="0"/>
73564
+ <line num="767" type="stmt" count="3"/>
73565
+ <line num="768" type="stmt" count="3"/>
73566
+ <line num="777" type="method" name="getTableStructure" visibility="private" complexity="5" crap="5" count="3"/>
73567
  <line num="779" type="stmt" count="3"/>
73568
  <line num="780" type="stmt" count="3"/>
73569
  <line num="781" type="stmt" count="3"/>
73584
  <line num="796" type="stmt" count="3"/>
73585
  <line num="797" type="stmt" count="3"/>
73586
  <line num="798" type="stmt" count="3"/>
73587
+ <line num="799" type="stmt" count="3"/>
73588
+ <line num="800" type="stmt" count="3"/>
73589
+ <line num="801" type="stmt" count="3"/>
73590
+ <line num="811" type="method" name="getTableColumnTypes" visibility="private" complexity="2" crap="2" count="3"/>
73591
  <line num="813" type="stmt" count="3"/>
73592
  <line num="814" type="stmt" count="3"/>
73593
+ <line num="815" type="stmt" count="3"/>
73594
  <line num="816" type="stmt" count="3"/>
73595
  <line num="817" type="stmt" count="3"/>
 
73596
  <line num="819" type="stmt" count="3"/>
73597
  <line num="820" type="stmt" count="3"/>
73598
  <line num="821" type="stmt" count="3"/>
73600
  <line num="823" type="stmt" count="3"/>
73601
  <line num="824" type="stmt" count="3"/>
73602
  <line num="825" type="stmt" count="3"/>
73603
+ <line num="826" type="stmt" count="3"/>
73604
  <line num="827" type="stmt" count="3"/>
73605
+ <line num="828" type="stmt" count="3"/>
73606
+ <line num="830" type="stmt" count="3"/>
73607
+ <line num="840" type="method" name="getViewStructureTable" visibility="private" complexity="2" crap="2" count="3"/>
73608
+ <line num="842" type="stmt" count="3"/>
73609
+ <line num="843" type="stmt" count="3"/>
73610
+ <line num="844" type="stmt" count="3"/>
73611
+ <line num="845" type="stmt" count="3"/>
73612
+ <line num="846" type="stmt" count="3"/>
73613
+ <line num="847" type="stmt" count="3"/>
73614
+ <line num="874" type="stmt" count="3"/>
73615
+ <line num="875" type="stmt" count="3"/>
73616
+ <line num="876" type="stmt" count="3"/>
73617
+ <line num="877" type="stmt" count="3"/>
73618
+ <line num="878" type="stmt" count="3"/>
73619
+ <line num="880" type="stmt" count="3"/>
73620
+ <line num="881" type="stmt" count="3"/>
73621
+ <line num="883" type="stmt" count="3"/>
73622
+ <line num="895" type="stmt" count="3"/>
73623
+ <line num="896" type="stmt" count="3"/>
73624
+ <line num="897" type="stmt" count="3"/>
73625
+ <line num="898" type="stmt" count="3"/>
73626
+ <line num="899" type="stmt" count="3"/>
73627
+ <line num="900" type="stmt" count="3"/>
73628
+ <line num="901" type="stmt" count="3"/>
73629
+ <line num="905" type="stmt" count="3"/>
73630
+ <line num="907" type="stmt" count="3"/>
73631
+ <line num="908" type="stmt" count="3"/>
73632
+ <line num="909" type="stmt" count="3"/>
73633
+ <line num="910" type="stmt" count="3"/>
73634
+ <line num="911" type="stmt" count="3"/>
73635
+ <line num="912" type="stmt" count="3"/>
73636
+ <line num="913" type="stmt" count="3"/>
73637
+ <line num="914" type="stmt" count="3"/>
73638
+ <line num="915" type="stmt" count="3"/>
 
73639
  <line num="925" type="stmt" count="0"/>
73640
  <line num="926" type="stmt" count="0"/>
73641
  <line num="927" type="stmt" count="0"/>
73646
  <line num="932" type="stmt" count="0"/>
73647
  <line num="933" type="stmt" count="0"/>
73648
  <line num="934" type="stmt" count="0"/>
73649
+ <line num="935" type="stmt" count="0"/>
73650
+ <line num="936" type="stmt" count="0"/>
73651
+ <line num="937" type="stmt" count="0"/>
73652
  <line num="947" type="stmt" count="0"/>
73653
  <line num="948" type="stmt" count="0"/>
73654
  <line num="949" type="stmt" count="0"/>
73660
  <line num="955" type="stmt" count="0"/>
73661
  <line num="956" type="stmt" count="0"/>
73662
  <line num="957" type="stmt" count="0"/>
73663
+ <line num="958" type="stmt" count="0"/>
73664
+ <line num="959" type="stmt" count="0"/>
73665
+ <line num="960" type="stmt" count="0"/>
73666
  <line num="970" type="stmt" count="0"/>
73667
  <line num="971" type="stmt" count="0"/>
73668
  <line num="972" type="stmt" count="0"/>
73674
  <line num="978" type="stmt" count="0"/>
73675
  <line num="979" type="stmt" count="0"/>
73676
  <line num="980" type="stmt" count="0"/>
73677
+ <line num="981" type="stmt" count="0"/>
73678
+ <line num="982" type="stmt" count="0"/>
73679
+ <line num="983" type="stmt" count="0"/>
73680
  <line num="993" type="stmt" count="0"/>
73681
  <line num="994" type="stmt" count="0"/>
73682
  <line num="995" type="stmt" count="0"/>
73688
  <line num="1001" type="stmt" count="0"/>
73689
  <line num="1002" type="stmt" count="0"/>
73690
  <line num="1003" type="stmt" count="0"/>
73691
+ <line num="1004" type="stmt" count="0"/>
73692
+ <line num="1005" type="stmt" count="0"/>
73693
+ <line num="1006" type="stmt" count="0"/>
73694
  <line num="1019" type="stmt" count="3"/>
73695
  <line num="1020" type="stmt" count="3"/>
73696
  <line num="1021" type="stmt" count="3"/>
73697
+ <line num="1022" type="stmt" count="3"/>
73698
  <line num="1023" type="stmt" count="3"/>
73699
+ <line num="1024" type="stmt" count="3"/>
73700
+ <line num="1026" type="stmt" count="3"/>
73701
+ <line num="1039" type="stmt" count="3"/>
 
73702
  <line num="1040" type="stmt" count="0"/>
73703
+ <line num="1041" type="stmt" count="3"/>
73704
  <line num="1042" type="stmt" count="0"/>
73705
+ <line num="1043" type="stmt" count="0"/>
73706
+ <line num="1045" type="stmt" count="0"/>
73707
+ <line num="1047" type="stmt" count="3"/>
73708
  <line num="1048" type="stmt" count="3"/>
73709
+ <line num="1051" type="stmt" count="3"/>
73710
+ <line num="1063" type="stmt" count="0"/>
73711
+ <line num="1064" type="stmt" count="0"/>
73712
+ <line num="1077" type="stmt" count="3"/>
73713
+ <line num="1078" type="stmt" count="3"/>
 
 
73714
  <line num="1081" type="stmt" count="0"/>
73715
+ <line num="1082" type="stmt" count="0"/>
73716
  <line num="1083" type="stmt" count="0"/>
73717
+ <line num="1084" type="stmt" count="0"/>
73718
+ <line num="1086" type="stmt" count="0"/>
73719
  <line num="1098" type="stmt" count="3"/>
73720
+ <line num="1100" type="stmt" count="3"/>
73721
  <line num="1101" type="stmt" count="3"/>
73722
+ <line num="1104" type="stmt" count="3"/>
73723
+ <line num="1106" type="stmt" count="3"/>
73724
+ <line num="1107" type="stmt" count="0"/>
73725
+ <line num="1108" type="stmt" count="0"/>
73726
  <line num="1110" type="stmt" count="3"/>
73727
+ <line num="1113" type="stmt" count="3"/>
73728
+ <line num="1115" type="stmt" count="3"/>
73729
+ <line num="1116" type="stmt" count="0"/>
73730
+ <line num="1117" type="stmt" count="0"/>
73731
+ <line num="1119" type="stmt" count="3"/>
73732
+ <line num="1121" type="stmt" count="3"/>
73733
+ <line num="1122" type="stmt" count="0"/>
73734
+ <line num="1123" type="stmt" count="0"/>
 
73735
  <line num="1125" type="stmt" count="3"/>
73736
+ <line num="1126" type="stmt" count="3"/>
73737
  <line num="1128" type="stmt" count="3"/>
 
73738
  <line num="1130" type="stmt" count="3"/>
73739
  <line num="1131" type="stmt" count="3"/>
73740
  <line num="1132" type="stmt" count="3"/>
73741
+ <line num="1133" type="stmt" count="3"/>
73742
+ <line num="1134" type="stmt" count="3"/>
73743
+ <line num="1135" type="stmt" count="3"/>
73744
  <line num="1136" type="stmt" count="0"/>
73745
  <line num="1137" type="stmt" count="0"/>
73746
  <line num="1138" type="stmt" count="0"/>
73747
+ <line num="1139" type="stmt" count="0"/>
73748
+ <line num="1140" type="stmt" count="0"/>
73749
+ <line num="1141" type="stmt" count="0"/>
73750
+ <line num="1142" type="stmt" count="3"/>
73751
  <line num="1143" type="stmt" count="3"/>
73752
  <line num="1144" type="stmt" count="3"/>
73753
+ <line num="1146" type="stmt" count="3"/>
73754
  <line num="1147" type="stmt" count="3"/>
73755
  <line num="1148" type="stmt" count="3"/>
73756
+ <line num="1150" type="stmt" count="3"/>
73757
+ <line num="1151" type="stmt" count="3"/>
73758
+ <line num="1152" type="stmt" count="0"/>
73759
+ <line num="1153" type="stmt" count="0"/>
73760
+ <line num="1154" type="stmt" count="0"/>
73761
  <line num="1155" type="stmt" count="3"/>
73762
  <line num="1156" type="stmt" count="3"/>
73763
+ <line num="1158" type="stmt" count="3"/>
73764
  <line num="1159" type="stmt" count="3"/>
73765
  <line num="1160" type="stmt" count="3"/>
73766
+ <line num="1162" type="stmt" count="3"/>
73767
+ <line num="1163" type="stmt" count="3"/>
 
73768
  <line num="1174" type="stmt" count="3"/>
73769
  <line num="1175" type="stmt" count="3"/>
73770
  <line num="1176" type="stmt" count="3"/>
73771
  <line num="1177" type="stmt" count="3"/>
73772
+ <line num="1178" type="stmt" count="3"/>
73773
  <line num="1179" type="stmt" count="3"/>
73774
  <line num="1180" type="stmt" count="3"/>
 
73775
  <line num="1182" type="stmt" count="3"/>
73776
+ <line num="1183" type="stmt" count="3"/>
73777
  <line num="1184" type="stmt" count="3"/>
73778
+ <line num="1185" type="stmt" count="3"/>
73779
+ <line num="1187" type="stmt" count="3"/>
73780
+ <line num="1188" type="stmt" count="0"/>
73781
+ <line num="1189" type="stmt" count="0"/>
 
73782
  <line num="1191" type="stmt" count="3"/>
73783
  <line num="1192" type="stmt" count="3"/>
73784
+ <line num="1193" type="stmt" count="3"/>
73785
  <line num="1194" type="stmt" count="3"/>
73786
  <line num="1195" type="stmt" count="3"/>
 
73787
  <line num="1197" type="stmt" count="3"/>
73788
  <line num="1198" type="stmt" count="3"/>
73789
+ <line num="1199" type="stmt" count="3"/>
73790
+ <line num="1200" type="stmt" count="3"/>
73791
  <line num="1201" type="stmt" count="3"/>
73792
+ <line num="1204" type="stmt" count="3"/>
 
 
73793
  <line num="1205" type="stmt" count="0"/>
73794
+ <line num="1206" type="stmt" count="0"/>
73795
+ <line num="1207" type="stmt" count="0"/>
73796
+ <line num="1208" type="stmt" count="0"/>
73797
+ <line num="1210" type="stmt" count="3"/>
73798
  <line num="1223" type="stmt" count="3"/>
73799
  <line num="1224" type="stmt" count="3"/>
73800
+ <line num="1225" type="stmt" count="3"/>
73801
  <line num="1226" type="stmt" count="3"/>
73802
  <line num="1227" type="stmt" count="3"/>
 
73803
  <line num="1229" type="stmt" count="3"/>
73804
  <line num="1230" type="stmt" count="3"/>
73805
+ <line num="1231" type="stmt" count="3"/>
73806
  <line num="1232" type="stmt" count="3"/>
73807
  <line num="1233" type="stmt" count="3"/>
73808
+ <line num="1235" type="stmt" count="3"/>
73809
  <line num="1236" type="stmt" count="3"/>
73810
+ <line num="1237" type="stmt" count="3"/>
73811
+ <line num="1239" type="stmt" count="3"/>
73812
+ <line num="1240" type="stmt" count="0"/>
73813
+ <line num="1241" type="stmt" count="0"/>
73814
+ <line num="1244" type="stmt" count="3"/>
 
73815
  <line num="1245" type="stmt" count="0"/>
73816
+ <line num="1246" type="stmt" count="0"/>
73817
+ <line num="1247" type="stmt" count="0"/>
73818
+ <line num="1248" type="stmt" count="0"/>
73819
  <line num="1250" type="stmt" count="3"/>
 
73820
  <line num="1252" type="stmt" count="3"/>
73821
  <line num="1253" type="stmt" count="3"/>
73822
  <line num="1254" type="stmt" count="3"/>
73823
+ <line num="1255" type="stmt" count="3"/>
73824
  <line num="1256" type="stmt" count="3"/>
73825
+ <line num="1257" type="stmt" count="3"/>
73826
+ <line num="1259" type="stmt" count="3"/>
73827
+ <line num="1271" type="stmt" count="3"/>
 
73828
  <line num="1272" type="stmt" count="3"/>
73829
+ <line num="1273" type="stmt" count="3"/>
73830
+ <line num="1274" type="stmt" count="0"/>
73831
+ <line num="1275" type="stmt" count="3"/>
73832
  <line num="1276" type="stmt" count="0"/>
73833
+ <line num="1277" type="stmt" count="3"/>
73834
+ <line num="1278" type="stmt" count="0"/>
73835
+ <line num="1279" type="stmt" count="0"/>
73836
+ <line num="1281" type="stmt" count="3"/>
73837
+ <line num="1283" type="stmt" count="3"/>
73838
+ <line num="1285" type="stmt" count="3"/>
73839
  <line num="1297" type="stmt" count="0"/>
73840
  <line num="1298" type="stmt" count="0"/>
73841
+ <line num="1299" type="stmt" count="0"/>
73842
  <line num="1300" type="stmt" count="0"/>
73843
+ <line num="1301" type="stmt" count="0"/>
73844
  <line num="1303" type="stmt" count="0"/>
73845
+ <line num="1305" type="stmt" count="0"/>
73846
+ <line num="1306" type="stmt" count="0"/>
73847
+ <line num="1327" type="method" name="isValid" visibility="public" complexity="1" crap="1" count="3"/>
73848
+ <line num="1329" type="stmt" count="3"/>
73849
+ <line num="1339" type="method" name="create" visibility="public" complexity="2" crap="2.03" count="3"/>
73850
+ <line num="1341" type="stmt" count="3"/>
73851
+ <line num="1342" type="stmt" count="3"/>
73852
+ <line num="1343" type="stmt" count="0"/>
73853
+ <line num="1346" type="stmt" count="3"/>
73854
+ <line num="1348" type="stmt" count="3"/>
73855
+ <line num="1356" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
73856
  <line num="1358" type="stmt" count="0"/>
73857
+ <line num="1359" type="stmt" count="0"/>
73858
+ <line num="1361" type="stmt" count="0"/>
73859
+ <line num="1366" type="method" name="open" visibility="public" complexity="2" crap="6" count="0"/>
73860
+ <line num="1368" type="stmt" count="0"/>
73861
+ <line num="1369" type="stmt" count="0"/>
73862
  <line num="1370" type="stmt" count="0"/>
73863
+ <line num="1373" type="stmt" count="0"/>
73864
+ <line num="1376" type="method" name="write" visibility="public" complexity="2" crap="6" count="0"/>
73865
+ <line num="1378" type="stmt" count="0"/>
 
73866
  <line num="1379" type="stmt" count="0"/>
73867
+ <line num="1380" type="stmt" count="0"/>
73868
+ <line num="1382" type="stmt" count="0"/>
73869
+ <line num="1385" type="method" name="close" visibility="public" complexity="1" crap="2" count="0"/>
73870
+ <line num="1387" type="stmt" count="0"/>
73871
+ <line num="1395" type="method" name="__construct" visibility="public" complexity="2" crap="6" count="0"/>
73872
  <line num="1397" type="stmt" count="0"/>
73873
+ <line num="1398" type="stmt" count="0"/>
73874
+ <line num="1400" type="stmt" count="0"/>
73875
+ <line num="1405" type="method" name="open" visibility="public" complexity="2" crap="6" count="0"/>
73876
+ <line num="1407" type="stmt" count="0"/>
73877
+ <line num="1408" type="stmt" count="0"/>
73878
  <line num="1409" type="stmt" count="0"/>
73879
+ <line num="1412" type="stmt" count="0"/>
73880
+ <line num="1415" type="method" name="write" visibility="public" complexity="2" crap="6" count="0"/>
73881
+ <line num="1417" type="stmt" count="0"/>
 
73882
  <line num="1418" type="stmt" count="0"/>
73883
+ <line num="1419" type="stmt" count="0"/>
73884
+ <line num="1421" type="stmt" count="0"/>
73885
+ <line num="1424" type="method" name="close" visibility="public" complexity="1" crap="2" count="0"/>
73886
+ <line num="1426" type="stmt" count="0"/>
73887
+ <line num="1437" type="method" name="open" visibility="public" complexity="2" crap="2.06" count="3"/>
73888
+ <line num="1439" type="stmt" count="3"/>
73889
+ <line num="1440" type="stmt" count="3"/>
73890
+ <line num="1441" type="stmt" count="0"/>
73891
+ <line num="1444" type="stmt" count="3"/>
73892
+ <line num="1447" type="method" name="write" visibility="public" complexity="2" crap="2.06" count="3"/>
73893
+ <line num="1449" type="stmt" count="3"/>
73894
  <line num="1450" type="stmt" count="3"/>
73895
+ <line num="1451" type="stmt" count="0"/>
73896
+ <line num="1453" type="stmt" count="3"/>
73897
+ <line num="1456" type="method" name="close" visibility="public" complexity="1" crap="1" count="3"/>
73898
+ <line num="1458" type="stmt" count="3"/>
73899
+ <line num="1471" type="method" name="open" visibility="public" complexity="2" crap="6" count="0"/>
73900
+ <line num="1473" type="stmt" count="0"/>
73901
+ <line num="1474" type="stmt" count="0"/>
73902
  <line num="1475" type="stmt" count="0"/>
73903
+ <line num="1478" type="stmt" count="0"/>
73904
+ <line num="1479" type="stmt" count="0"/>
73905
+ <line num="1482" type="method" name="write" visibility="public" complexity="2" crap="6" count="0"/>
73906
+ <line num="1485" type="stmt" count="0"/>
 
73907
  <line num="1486" type="stmt" count="0"/>
73908
+ <line num="1487" type="stmt" count="0"/>
73909
+ <line num="1489" type="stmt" count="0"/>
73910
+ <line num="1492" type="method" name="close" visibility="public" complexity="1" crap="2" count="0"/>
73911
+ <line num="1494" type="stmt" count="0"/>
73912
+ <line num="1495" type="stmt" count="0"/>
73913
+ <line num="1514" type="method" name="isValid" visibility="public" complexity="1" crap="1" count="3"/>
73914
+ <line num="1516" type="stmt" count="3"/>
73915
+ <line num="1533" type="method" name="create" visibility="public" complexity="2" crap="2.03" count="3"/>
73916
+ <line num="1535" type="stmt" count="3"/>
73917
  <line num="1536" type="stmt" count="3"/>
73918
+ <line num="1537" type="stmt" count="0"/>
73919
+ <line num="1539" type="stmt" count="3"/>
73920
+ <line num="1540" type="stmt" count="3"/>
73921
+ <line num="1543" type="method" name="__construct" visibility="public" complexity="1" crap="1" count="3"/>
73922
+ <line num="1545" type="stmt" count="3"/>
73923
+ <line num="1546" type="stmt" count="3"/>
73924
+ <line num="1547" type="stmt" count="3"/>
73925
+ <line num="1553" type="method" name="databases" visibility="public" complexity="1" crap="2" count="0"/>
73926
+ <line num="1555" type="stmt" count="0"/>
73927
+ <line num="1558" type="method" name="show_create_table" visibility="public" complexity="1" crap="2" count="0"/>
73928
+ <line num="1561" type="stmt" count="0"/>
73929
+ <line num="1562" type="stmt" count="0"/>
73930
+ <line num="1569" type="method" name="create_table" visibility="public" complexity="1" crap="2" count="0"/>
73931
+ <line num="1571" type="stmt" count="0"/>
73932
+ <line num="1574" type="method" name="show_create_view" visibility="public" complexity="1" crap="2" count="0"/>
73933
+ <line num="1577" type="stmt" count="0"/>
73934
+ <line num="1578" type="stmt" count="0"/>
73935
+ <line num="1585" type="method" name="create_view" visibility="public" complexity="1" crap="2" count="0"/>
73936
+ <line num="1587" type="stmt" count="0"/>
73937
+ <line num="1594" type="method" name="show_create_trigger" visibility="public" complexity="1" crap="2" count="0"/>
73938
+ <line num="1596" type="stmt" count="0"/>
73939
+ <line num="1603" type="method" name="create_trigger" visibility="public" complexity="1" crap="2" count="0"/>
73940
+ <line num="1605" type="stmt" count="0"/>
73941
+ <line num="1612" type="method" name="create_procedure" visibility="public" complexity="1" crap="2" count="0"/>
73942
+ <line num="1614" type="stmt" count="0"/>
73943
+ <line num="1621" type="method" name="create_function" visibility="public" complexity="1" crap="2" count="0"/>
73944
+ <line num="1623" type="stmt" count="0"/>
73945
+ <line num="1626" type="method" name="show_tables" visibility="public" complexity="1" crap="2" count="0"/>
73946
+ <line num="1628" type="stmt" count="0"/>
73947
+ <line num="1631" type="method" name="show_views" visibility="public" complexity="1" crap="2" count="0"/>
73948
+ <line num="1633" type="stmt" count="0"/>
73949
+ <line num="1636" type="method" name="show_triggers" visibility="public" complexity="1" crap="2" count="0"/>
73950
+ <line num="1638" type="stmt" count="0"/>
73951
+ <line num="1641" type="method" name="show_columns" visibility="public" complexity="2" crap="6" count="0"/>
73952
+ <line num="1643" type="stmt" count="0"/>
73953
  <line num="1644" type="stmt" count="0"/>
73954
+ <line num="1647" type="stmt" count="0"/>
73955
+ <line num="1649" type="stmt" count="0"/>
73956
+ <line num="1654" type="stmt" count="0"/>
73957
+ <line num="1659" type="stmt" count="0"/>
73958
+ <line num="1664" type="stmt" count="0"/>
73959
+ <line num="1669" type="stmt" count="0"/>
73960
+ <line num="1674" type="stmt" count="0"/>
73961
+ <line num="1679" type="stmt" count="0"/>
73962
+ <line num="1684" type="stmt" count="0"/>
73963
+ <line num="1689" type="stmt" count="0"/>
73964
+ <line num="1694" type="stmt" count="0"/>
73965
+ <line num="1699" type="stmt" count="0"/>
73966
+ <line num="1704" type="stmt" count="0"/>
73967
+ <line num="1709" type="stmt" count="0"/>
73968
+ <line num="1714" type="stmt" count="0"/>
73969
+ <line num="1719" type="stmt" count="0"/>
73970
+ <line num="1724" type="stmt" count="0"/>
73971
+ <line num="1729" type="stmt" count="0"/>
73972
+ <line num="1734" type="stmt" count="0"/>
73973
+ <line num="1739" type="stmt" count="0"/>
73974
+ <line num="1751" type="stmt" count="0"/>
73975
+ <line num="1756" type="stmt" count="0"/>
73976
+ <line num="1761" type="stmt" count="0"/>
73977
+ <line num="1817" type="method" name="databases" visibility="public" complexity="1" crap="2" count="0"/>
73978
+ <line num="1819" type="stmt" count="0"/>
 
73979
  <line num="1820" type="stmt" count="0"/>
73980
  <line num="1821" type="stmt" count="0"/>
73981
+ <line num="1823" type="stmt" count="0"/>
73982
  <line num="1824" type="stmt" count="0"/>
73983
  <line num="1825" type="stmt" count="0"/>
 
73984
  <line num="1827" type="stmt" count="0"/>
73985
+ <line num="1828" type="stmt" count="0"/>
73986
  <line num="1829" type="stmt" count="0"/>
73987
+ <line num="1830" type="stmt" count="0"/>
73988
  <line num="1832" type="stmt" count="0"/>
73989
  <line num="1834" type="stmt" count="0"/>
73990
+ <line num="1835" type="stmt" count="0"/>
73991
+ <line num="1837" type="stmt" count="0"/>
73992
+ <line num="1842" type="stmt" count="3"/>
73993
+ <line num="1847" type="stmt" count="3"/>
73994
+ <line num="1852" type="stmt" count="0"/>
73995
+ <line num="1857" type="stmt" count="0"/>
73996
+ <line num="1862" type="stmt" count="0"/>
73997
+ <line num="1867" type="stmt" count="0"/>
73998
+ <line num="1872" type="stmt" count="3"/>
73999
+ <line num="1873" type="stmt" count="0"/>
74000
+ <line num="1876" type="stmt" count="3"/>
74001
+ <line num="1877" type="stmt" count="3"/>
 
74002
  <line num="1878" type="stmt" count="0"/>
74003
+ <line num="1879" type="stmt" count="0"/>
74004
+ <line num="1880" type="stmt" count="0"/>
74005
+ <line num="1881" type="stmt" count="0"/>
74006
  <line num="1883" type="stmt" count="3"/>
74007
  <line num="1884" type="stmt" count="3"/>
74008
  <line num="1885" type="stmt" count="3"/>
74009
+ <line num="1886" type="stmt" count="3"/>
74010
+ <line num="1887" type="stmt" count="3"/>
74011
+ <line num="1888" type="stmt" count="3"/>
74012
+ <line num="1893" type="stmt" count="3"/>
74013
+ <line num="1894" type="stmt" count="3"/>
74014
  <line num="1895" type="stmt" count="0"/>
74015
+ <line num="1898" type="stmt" count="3"/>
74016
+ <line num="1900" type="stmt" count="3"/>
74017
+ <line num="1902" type="stmt" count="3"/>
74018
+ <line num="1904" type="stmt" count="3"/>
74019
+ <line num="1905" type="stmt" count="3"/>
74020
+ <line num="1906" type="stmt" count="3"/>
74021
+ <line num="1908" type="stmt" count="3"/>
74022
+ <line num="1909" type="stmt" count="3"/>
74023
+ <line num="1910" type="stmt" count="3"/>
74024
+ <line num="1912" type="stmt" count="3"/>
74025
+ <line num="1913" type="stmt" count="3"/>
74026
+ <line num="1918" type="stmt" count="0"/>
74027
+ <line num="1919" type="stmt" count="0"/>
74028
  <line num="1920" type="stmt" count="0"/>
 
 
74029
  <line num="1923" type="stmt" count="0"/>
74030
  <line num="1924" type="stmt" count="0"/>
74031
  <line num="1925" type="stmt" count="0"/>
74032
+ <line num="1926" type="stmt" count="0"/>
74033
  <line num="1927" type="stmt" count="0"/>
74034
  <line num="1928" type="stmt" count="0"/>
74035
+ <line num="1930" type="stmt" count="0"/>
74036
  <line num="1931" type="stmt" count="0"/>
74037
  <line num="1932" type="stmt" count="0"/>
 
74038
  <line num="1934" type="stmt" count="0"/>
74039
+ <line num="1935" type="stmt" count="0"/>
74040
+ <line num="1936" type="stmt" count="0"/>
74041
+ <line num="1937" type="stmt" count="0"/>
74042
  <line num="1942" type="stmt" count="0"/>
74043
+ <line num="1943" type="stmt" count="0"/>
74044
  <line num="1944" type="stmt" count="0"/>
74045
  <line num="1945" type="stmt" count="0"/>
 
74046
  <line num="1947" type="stmt" count="0"/>
74047
  <line num="1948" type="stmt" count="0"/>
74048
  <line num="1949" type="stmt" count="0"/>
74049
+ <line num="1950" type="stmt" count="0"/>
74050
  <line num="1951" type="stmt" count="0"/>
74051
  <line num="1952" type="stmt" count="0"/>
 
74052
  <line num="1954" type="stmt" count="0"/>
74053
+ <line num="1955" type="stmt" count="0"/>
74054
+ <line num="1956" type="stmt" count="0"/>
74055
  <line num="1957" type="stmt" count="0"/>
 
 
74056
  <line num="1960" type="stmt" count="0"/>
74057
  <line num="1961" type="stmt" count="0"/>
74058
  <line num="1962" type="stmt" count="0"/>
74059
  <line num="1963" type="stmt" count="0"/>
74060
+ <line num="1964" type="stmt" count="0"/>
74061
  <line num="1965" type="stmt" count="0"/>
74062
+ <line num="1966" type="stmt" count="0"/>
74063
+ <line num="1968" type="stmt" count="0"/>
 
74064
  <line num="1973" type="stmt" count="0"/>
74065
+ <line num="1974" type="stmt" count="0"/>
74066
  <line num="1975" type="stmt" count="0"/>
74067
  <line num="1976" type="stmt" count="0"/>
 
74068
  <line num="1978" type="stmt" count="0"/>
74069
  <line num="1979" type="stmt" count="0"/>
74070
  <line num="1980" type="stmt" count="0"/>
74071
  <line num="1981" type="stmt" count="0"/>
74072
  <line num="1982" type="stmt" count="0"/>
74073
  <line num="1983" type="stmt" count="0"/>
74074
+ <line num="1984" type="stmt" count="0"/>
74075
  <line num="1985" type="stmt" count="0"/>
74076
  <line num="1986" type="stmt" count="0"/>
 
74077
  <line num="1988" type="stmt" count="0"/>
74078
+ <line num="1989" type="stmt" count="0"/>
74079
+ <line num="1990" type="stmt" count="0"/>
74080
  <line num="1991" type="stmt" count="0"/>
 
 
74081
  <line num="1994" type="stmt" count="0"/>
74082
  <line num="1995" type="stmt" count="0"/>
74083
  <line num="1996" type="stmt" count="0"/>
74094
  <line num="2007" type="stmt" count="0"/>
74095
  <line num="2008" type="stmt" count="0"/>
74096
  <line num="2009" type="stmt" count="0"/>
74097
+ <line num="2010" type="stmt" count="0"/>
74098
+ <line num="2011" type="stmt" count="0"/>
74099
  <line num="2012" type="stmt" count="0"/>
74100
+ <line num="2015" type="stmt" count="0"/>
 
 
74101
  <line num="2020" type="stmt" count="0"/>
74102
+ <line num="2021" type="stmt" count="0"/>
74103
  <line num="2022" type="stmt" count="0"/>
74104
  <line num="2023" type="stmt" count="0"/>
 
74105
  <line num="2025" type="stmt" count="0"/>
74106
+ <line num="2026" type="stmt" count="0"/>
74107
  <line num="2027" type="stmt" count="0"/>
74108
  <line num="2028" type="stmt" count="0"/>
 
74109
  <line num="2030" type="stmt" count="0"/>
74110
+ <line num="2031" type="stmt" count="0"/>
74111
  <line num="2032" type="stmt" count="0"/>
74112
  <line num="2033" type="stmt" count="0"/>
74113
+ <line num="2035" type="stmt" count="0"/>
74114
  <line num="2036" type="stmt" count="0"/>
74115
  <line num="2037" type="stmt" count="0"/>
 
74116
  <line num="2039" type="stmt" count="0"/>
74117
  <line num="2040" type="stmt" count="0"/>
74118
  <line num="2041" type="stmt" count="0"/>
74131
  <line num="2054" type="stmt" count="0"/>
74132
  <line num="2055" type="stmt" count="0"/>
74133
  <line num="2056" type="stmt" count="0"/>
74134
+ <line num="2057" type="stmt" count="0"/>
74135
+ <line num="2058" type="stmt" count="0"/>
74136
+ <line num="2059" type="stmt" count="0"/>
74137
+ <line num="2063" type="stmt" count="0"/>
74138
  <line num="2068" type="stmt" count="3"/>
74139
  <line num="2069" type="stmt" count="3"/>
74140
+ <line num="2071" type="stmt" count="3"/>
74141
+ <line num="2072" type="stmt" count="3"/>
74142
  <line num="2077" type="stmt" count="3"/>
74143
  <line num="2078" type="stmt" count="3"/>
74144
+ <line num="2080" type="stmt" count="3"/>
74145
+ <line num="2081" type="stmt" count="3"/>
74146
+ <line num="2086" type="stmt" count="3"/>
74147
+ <line num="2087" type="stmt" count="3"/>
74148
+ <line num="2088" type="stmt" count="3"/>
74149
+ <line num="2093" type="stmt" count="3"/>
74150
+ <line num="2094" type="stmt" count="3"/>
74151
+ <line num="2095" type="stmt" count="3"/>
74152
  <line num="2100" type="stmt" count="0"/>
74153
  <line num="2101" type="stmt" count="0"/>
74154
+ <line num="2103" type="stmt" count="0"/>
74155
+ <line num="2104" type="stmt" count="0"/>
74156
  <line num="2109" type="stmt" count="0"/>
74157
  <line num="2110" type="stmt" count="0"/>
74158
+ <line num="2112" type="stmt" count="0"/>
74159
+ <line num="2113" type="stmt" count="0"/>
74160
  <line num="2124" type="stmt" count="0"/>
74161
  <line num="2125" type="stmt" count="0"/>
74162
+ <line num="2127" type="stmt" count="0"/>
74163
+ <line num="2128" type="stmt" count="0"/>
74164
+ <line num="2133" type="stmt" count="3"/>
74165
+ <line num="2139" type="stmt" count="3"/>
74166
+ <line num="2145" type="stmt" count="3"/>
74167
+ <line num="2150" type="stmt" count="0"/>
74168
+ <line num="2151" type="stmt" count="0"/>
74169
+ <line num="2152" type="stmt" count="0"/>
74170
+ <line num="2157" type="stmt" count="0"/>
74171
+ <line num="2162" type="stmt" count="3"/>
74172
+ <line num="2163" type="stmt" count="3"/>
74173
+ <line num="2164" type="stmt" count="3"/>
74174
+ <line num="2169" type="stmt" count="3"/>
 
74175
  <line num="2174" type="stmt" count="3"/>
74176
+ <line num="2175" type="stmt" count="3"/>
74177
+ <line num="2176" type="stmt" count="3"/>
74178
+ <line num="2177" type="stmt" count="3"/>
74179
  <line num="2182" type="stmt" count="3"/>
74180
+ <line num="2183" type="stmt" count="3"/>
74181
+ <line num="2184" type="stmt" count="3"/>
74182
+ <line num="2185" type="stmt" count="3"/>
74183
+ <line num="2190" type="stmt" count="0"/>
74184
+ <line num="2195" type="stmt" count="0"/>
74185
  <line num="2200" type="stmt" count="0"/>
74186
+ <line num="2201" type="stmt" count="0"/>
74187
+ <line num="2202" type="stmt" count="0"/>
74188
+ <line num="2203" type="stmt" count="0"/>
74189
+ <line num="2208" type="stmt" count="0"/>
74190
+ <line num="2209" type="stmt" count="0"/>
74191
+ <line num="2210" type="stmt" count="0"/>
74192
+ <line num="2215" type="stmt" count="3"/>
74193
+ <line num="2216" type="stmt" count="3"/>
74194
+ <line num="2217" type="stmt" count="3"/>
74195
+ <line num="2222" type="stmt" count="3"/>
74196
+ <line num="2223" type="stmt" count="3"/>
74197
+ <line num="2224" type="stmt" count="3"/>
74198
+ <line num="2225" type="stmt" count="3"/>
74199
  <line num="2230" type="stmt" count="0"/>
74200
  <line num="2231" type="stmt" count="0"/>
74201
+ <line num="2232" type="stmt" count="0"/>
74202
+ <line num="2233" type="stmt" count="0"/>
74203
+ <line num="2234" type="stmt" count="0"/>
74204
  <line num="2246" type="stmt" count="3"/>
74205
  <line num="2247" type="stmt" count="3"/>
 
74206
  <line num="2249" type="stmt" count="3"/>
74207
  <line num="2250" type="stmt" count="3"/>
74208
  <line num="2251" type="stmt" count="3"/>
74209
+ <line num="2252" type="stmt" count="3"/>
74210
  <line num="2253" type="stmt" count="3"/>
74211
  <line num="2254" type="stmt" count="3"/>
74212
+ <line num="2256" type="stmt" count="3"/>
74213
+ <line num="2257" type="stmt" count="3"/>
74214
+ <line num="2261" type="stmt" count="3"/>
74215
+ <line num="2263" type="stmt" count="3"/>
 
74216
  <line num="2268" type="stmt" count="3"/>
74217
+ <line num="2269" type="stmt" count="3"/>
74218
  <line num="2270" type="stmt" count="3"/>
74219
  <line num="2271" type="stmt" count="3"/>
 
74220
  <line num="2273" type="stmt" count="3"/>
74221
+ <line num="2274" type="stmt" count="3"/>
74222
  <line num="2275" type="stmt" count="3"/>
74223
  <line num="2276" type="stmt" count="3"/>
 
74224
  <line num="2278" type="stmt" count="3"/>
74225
+ <line num="2279" type="stmt" count="3"/>
74226
  <line num="2280" type="stmt" count="3"/>
74227
+ <line num="2281" type="stmt" count="3"/>
74228
+ <line num="2283" type="stmt" count="3"/>
74229
  <line num="2288" type="stmt" count="3"/>
74230
+ <line num="2290" type="stmt" count="3"/>
74231
  <line num="2291" type="stmt" count="3"/>
74232
  <line num="2292" type="stmt" count="3"/>
 
74233
  <line num="2294" type="stmt" count="3"/>
74234
  <line num="2295" type="stmt" count="3"/>
74235
  <line num="2296" type="stmt" count="3"/>
74236
  <line num="2297" type="stmt" count="3"/>
74237
+ <line num="2298" type="stmt" count="3"/>
74238
  <line num="2299" type="stmt" count="3"/>
74239
+ <line num="2300" type="stmt" count="3"/>
74240
+ <line num="2302" type="stmt" count="3"/>
74241
  <line num="2315" type="stmt" count="3"/>
74242
+ <line num="2316" type="stmt" count="0"/>
74243
+ <line num="2318" type="stmt" count="3"/>
74244
+ <metrics loc="2320" ncloc="1775" classes="10" methods="61" coveredmethods="10" conditionals="0" coveredconditionals="0" statements="952" coveredstatements="518" elements="1013" coveredelements="528"/>
74245
  </file>
74246
  </package>
74247
+ <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/ifsnop/mysqldump-php/tests/test.php">
74248
+ <line num="7" type="stmt" count="0"/>
74249
+ <line num="9" type="stmt" count="0"/>
74250
+ <line num="11" type="stmt" count="0"/>
74251
+ <line num="15" type="stmt" count="0"/>
74252
+ <line num="16" type="stmt" count="0"/>
74253
+ <line num="17" type="stmt" count="0"/>
74254
+ <line num="18" type="stmt" count="0"/>
74255
+ <line num="19" type="stmt" count="0"/>
74256
+ <line num="20" type="stmt" count="0"/>
74257
+ <line num="21" type="stmt" count="0"/>
74258
+ <line num="22" type="stmt" count="0"/>
74259
+ <line num="23" type="stmt" count="0"/>
74260
+ <line num="24" type="stmt" count="0"/>
74261
+ <line num="25" type="stmt" count="0"/>
74262
+ <line num="26" type="stmt" count="0"/>
74263
+ <line num="27" type="stmt" count="0"/>
74264
+ <line num="28" type="stmt" count="0"/>
74265
+ <line num="29" type="stmt" count="0"/>
74266
+ <line num="30" type="stmt" count="0"/>
74267
+ <line num="31" type="stmt" count="0"/>
74268
+ <line num="32" type="stmt" count="0"/>
74269
+ <line num="33" type="stmt" count="0"/>
74270
+ <line num="36" type="stmt" count="0"/>
74271
+ <line num="37" type="stmt" count="0"/>
74272
+ <line num="38" type="stmt" count="0"/>
74273
+ <line num="39" type="stmt" count="0"/>
74274
+ <line num="40" type="stmt" count="0"/>
74275
+ <line num="41" type="stmt" count="0"/>
74276
+ <line num="43" type="stmt" count="0"/>
74277
+ <line num="44" type="stmt" count="0"/>
74278
+ <line num="45" type="stmt" count="0"/>
74279
+ <line num="46" type="stmt" count="0"/>
74280
+ <line num="47" type="stmt" count="0"/>
74281
+ <line num="48" type="stmt" count="0"/>
74282
+ <line num="49" type="stmt" count="0"/>
74283
+ <line num="52" type="stmt" count="0"/>
74284
+ <line num="53" type="stmt" count="0"/>
74285
+ <line num="54" type="stmt" count="0"/>
74286
+ <line num="55" type="stmt" count="0"/>
74287
+ <line num="56" type="stmt" count="0"/>
74288
+ <line num="57" type="stmt" count="0"/>
74289
+ <line num="58" type="stmt" count="0"/>
74290
+ <line num="59" type="stmt" count="0"/>
74291
+ <line num="61" type="stmt" count="0"/>
74292
+ <line num="62" type="stmt" count="0"/>
74293
+ <line num="63" type="stmt" count="0"/>
74294
+ <line num="64" type="stmt" count="0"/>
74295
+ <line num="65" type="stmt" count="0"/>
74296
+ <line num="66" type="stmt" count="0"/>
74297
+ <line num="67" type="stmt" count="0"/>
74298
+ <line num="68" type="stmt" count="0"/>
74299
+ <line num="69" type="stmt" count="0"/>
74300
+ <line num="71" type="stmt" count="0"/>
74301
+ <line num="72" type="stmt" count="0"/>
74302
+ <line num="73" type="stmt" count="0"/>
74303
+ <line num="74" type="stmt" count="0"/>
74304
+ <line num="75" type="stmt" count="0"/>
74305
+ <line num="76" type="stmt" count="0"/>
74306
+ <line num="77" type="stmt" count="0"/>
74307
+ <line num="78" type="stmt" count="0"/>
74308
+ <line num="80" type="stmt" count="0"/>
74309
+ <line num="81" type="stmt" count="0"/>
74310
+ <line num="82" type="stmt" count="0"/>
74311
+ <line num="83" type="stmt" count="0"/>
74312
+ <line num="84" type="stmt" count="0"/>
74313
+ <line num="85" type="stmt" count="0"/>
74314
+ <line num="86" type="stmt" count="0"/>
74315
+ <line num="88" type="stmt" count="0"/>
74316
+ <line num="89" type="stmt" count="0"/>
74317
+ <line num="90" type="stmt" count="0"/>
74318
+ <line num="91" type="stmt" count="0"/>
74319
+ <line num="92" type="stmt" count="0"/>
74320
+ <line num="93" type="stmt" count="0"/>
74321
+ <line num="94" type="stmt" count="0"/>
74322
+ <line num="96" type="stmt" count="0"/>
74323
+ <line num="97" type="stmt" count="0"/>
74324
+ <line num="98" type="stmt" count="0"/>
74325
+ <line num="99" type="stmt" count="0"/>
74326
+ <line num="100" type="stmt" count="0"/>
74327
+ <line num="101" type="stmt" count="0"/>
74328
+ <line num="102" type="stmt" count="0"/>
74329
+ <line num="104" type="stmt" count="0"/>
74330
+ <line num="105" type="stmt" count="0"/>
74331
+ <line num="106" type="stmt" count="0"/>
74332
+ <line num="107" type="stmt" count="0"/>
74333
+ <line num="108" type="stmt" count="0"/>
74334
+ <line num="109" type="stmt" count="0"/>
74335
+ <line num="110" type="stmt" count="0"/>
74336
+ <line num="112" type="stmt" count="0"/>
74337
+ <line num="113" type="stmt" count="0"/>
74338
+ <line num="114" type="stmt" count="0"/>
74339
+ <line num="115" type="stmt" count="0"/>
74340
+ <line num="116" type="stmt" count="0"/>
74341
+ <line num="117" type="stmt" count="0"/>
74342
+ <line num="118" type="stmt" count="0"/>
74343
+ <line num="120" type="stmt" count="0"/>
74344
+ <line num="121" type="stmt" count="0"/>
74345
+ <line num="122" type="stmt" count="0"/>
74346
+ <line num="123" type="stmt" count="0"/>
74347
+ <line num="124" type="stmt" count="0"/>
74348
+ <line num="125" type="stmt" count="0"/>
74349
+ <line num="126" type="stmt" count="0"/>
74350
+ <line num="128" type="stmt" count="0"/>
74351
+ <line num="129" type="stmt" count="0"/>
74352
+ <line num="130" type="stmt" count="0"/>
74353
+ <line num="131" type="stmt" count="0"/>
74354
+ <line num="132" type="stmt" count="0"/>
74355
+ <line num="133" type="stmt" count="0"/>
74356
+ <line num="134" type="stmt" count="0"/>
74357
+ <line num="135" type="stmt" count="0"/>
74358
+ <line num="136" type="stmt" count="0"/>
74359
+ <line num="137" type="stmt" count="0"/>
74360
+ <line num="138" type="stmt" count="0"/>
74361
+ <line num="140" type="stmt" count="0"/>
74362
+ <line num="141" type="stmt" count="0"/>
74363
+ <line num="142" type="stmt" count="0"/>
74364
+ <line num="143" type="stmt" count="0"/>
74365
+ <line num="144" type="stmt" count="0"/>
74366
+ <line num="145" type="stmt" count="0"/>
74367
+ <line num="146" type="stmt" count="0"/>
74368
+ <line num="147" type="stmt" count="0"/>
74369
+ <line num="148" type="stmt" count="0"/>
74370
+ <line num="149" type="stmt" count="0"/>
74371
+ <line num="150" type="stmt" count="0"/>
74372
+ <line num="151" type="stmt" count="0"/>
74373
+ <line num="152" type="stmt" count="0"/>
74374
+ <line num="154" type="stmt" count="0"/>
74375
+ <line num="155" type="stmt" count="0"/>
74376
+ <line num="156" type="stmt" count="0"/>
74377
+ <line num="157" type="stmt" count="0"/>
74378
+ <line num="158" type="stmt" count="0"/>
74379
+ <line num="159" type="stmt" count="0"/>
74380
+ <line num="160" type="stmt" count="0"/>
74381
+ <line num="161" type="stmt" count="0"/>
74382
+ <line num="162" type="stmt" count="0"/>
74383
+ <line num="163" type="stmt" count="0"/>
74384
+ <line num="165" type="stmt" count="0"/>
74385
+ <metrics loc="165" ncloc="156" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="137" coveredstatements="0" elements="137" coveredelements="0"/>
74386
+ </file>
74387
  <file name="/home/travis/build/BoldGrid/boldgrid-backup/vendor/ifsnop/mysqldump-php/unit-tests/MysqldumpTest.php">
74388
  <class name="MysqldumpTest" namespace="global">
74389
  <metrics complexity="2" methods="2" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="30" coveredstatements="0" elements="32" coveredelements="0"/>
92276
  <line num="16" type="stmt" count="0"/>
92277
  <metrics loc="16" ncloc="9" classes="0" methods="0" coveredmethods="0" conditionals="0" coveredconditionals="0" statements="8" coveredstatements="0" elements="8" coveredelements="0"/>
92278
  </file>
92279
+ <metrics files="913" loc="184136" ncloc="112609" classes="825" methods="3346" coveredmethods="171" conditionals="0" coveredconditionals="0" statements="83305" coveredstatements="2886" elements="86651" coveredelements="3057"/>
92280
  </project>
92281
  </coverage>
readme.txt CHANGED
@@ -4,7 +4,7 @@ Tags: backup, cloud backup, database backup, restore, wordpress backup
4
  Requires at least: 4.4
5
  Tested up to: 5.3
6
  Requires PHP: 5.4
7
- Stable tag: 1.12.3
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -132,6 +132,13 @@ Have a problem? First, take a look at our [Getting Started](https://www.boldgrid
132
 
133
  == Changelog ==
134
 
 
 
 
 
 
 
 
135
  = 1.12.3 =
136
 
137
  Release date: December 19th, 2019
4
  Requires at least: 4.4
5
  Tested up to: 5.3
6
  Requires PHP: 5.4
7
+ Stable tag: 1.12.4
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
132
 
133
  == Changelog ==
134
 
135
+ = 1.12.4 =
136
+
137
+ Release date: January 10th, 2019
138
+
139
+ * Bug fix: Escape table prefix when getting tables.
140
+ * Bug fix: Include views when dumping the database.
141
+
142
  = 1.12.3 =
143
 
144
  Release date: December 19th, 2019
vendor/autoload.php CHANGED
@@ -4,4 +4,4 @@
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
- return ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35::getLoader();
4
 
5
  require_once __DIR__ . '/composer/autoload_real.php';
6
 
7
+ return ComposerAutoloaderInit33375066d3c33a409e6153965725b8a0::getLoader();
vendor/composer/autoload_real.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
- class ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35
6
  {
7
  private static $loader;
8
 
@@ -19,15 +19,15 @@ class ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35
19
  return self::$loader;
20
  }
21
 
22
- spl_autoload_register(array('ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
- spl_autoload_unregister(array('ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
- call_user_func(\Composer\Autoload\ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
@@ -48,19 +48,19 @@ class ComposerAutoloaderInit9c4a1eb0c928382272818b485ae0eb35
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
- $includeFiles = Composer\Autoload\ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
- composerRequire9c4a1eb0c928382272818b485ae0eb35($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
- function composerRequire9c4a1eb0c928382272818b485ae0eb35($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
2
 
3
  // autoload_real.php @generated by Composer
4
 
5
+ class ComposerAutoloaderInit33375066d3c33a409e6153965725b8a0
6
  {
7
  private static $loader;
8
 
19
  return self::$loader;
20
  }
21
 
22
+ spl_autoload_register(array('ComposerAutoloaderInit33375066d3c33a409e6153965725b8a0', 'loadClassLoader'), true, true);
23
  self::$loader = $loader = new \Composer\Autoload\ClassLoader();
24
+ spl_autoload_unregister(array('ComposerAutoloaderInit33375066d3c33a409e6153965725b8a0', 'loadClassLoader'));
25
 
26
  $useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION') && (!function_exists('zend_loader_file_encoded') || !zend_loader_file_encoded());
27
  if ($useStaticLoader) {
28
  require_once __DIR__ . '/autoload_static.php';
29
 
30
+ call_user_func(\Composer\Autoload\ComposerStaticInit33375066d3c33a409e6153965725b8a0::getInitializer($loader));
31
  } else {
32
  $map = require __DIR__ . '/autoload_namespaces.php';
33
  foreach ($map as $namespace => $path) {
48
  $loader->register(true);
49
 
50
  if ($useStaticLoader) {
51
+ $includeFiles = Composer\Autoload\ComposerStaticInit33375066d3c33a409e6153965725b8a0::$files;
52
  } else {
53
  $includeFiles = require __DIR__ . '/autoload_files.php';
54
  }
55
  foreach ($includeFiles as $fileIdentifier => $file) {
56
+ composerRequire33375066d3c33a409e6153965725b8a0($fileIdentifier, $file);
57
  }
58
 
59
  return $loader;
60
  }
61
  }
62
 
63
+ function composerRequire33375066d3c33a409e6153965725b8a0($fileIdentifier, $file)
64
  {
65
  if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
66
  require $file;
vendor/composer/autoload_static.php CHANGED
@@ -4,7 +4,7 @@
4
 
5
  namespace Composer\Autoload;
6
 
7
- class ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
@@ -91,9 +91,9 @@ class ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
- $loader->prefixLengthsPsr4 = ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35::$prefixLengthsPsr4;
95
- $loader->prefixDirsPsr4 = ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35::$prefixDirsPsr4;
96
- $loader->classMap = ComposerStaticInit9c4a1eb0c928382272818b485ae0eb35::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
4
 
5
  namespace Composer\Autoload;
6
 
7
+ class ComposerStaticInit33375066d3c33a409e6153965725b8a0
8
  {
9
  public static $files = array (
10
  'decc78cc4436b1292c6c0d151b19445c' => __DIR__ . '/..' . '/phpseclib/phpseclib/phpseclib/bootstrap.php',
91
  public static function getInitializer(ClassLoader $loader)
92
  {
93
  return \Closure::bind(function () use ($loader) {
94
+ $loader->prefixLengthsPsr4 = ComposerStaticInit33375066d3c33a409e6153965725b8a0::$prefixLengthsPsr4;
95
+ $loader->prefixDirsPsr4 = ComposerStaticInit33375066d3c33a409e6153965725b8a0::$prefixDirsPsr4;
96
+ $loader->classMap = ComposerStaticInit33375066d3c33a409e6153965725b8a0::$classMap;
97
 
98
  }, null, ClassLoader::class);
99
  }
vendor/composer/installed.json CHANGED
@@ -66,17 +66,17 @@
66
  },
67
  {
68
  "name": "ifsnop/mysqldump-php",
69
- "version": "v2.8",
70
- "version_normalized": "2.8.0.0",
71
  "source": {
72
  "type": "git",
73
- "url": "https://github.com/ifsnop/mysqldump-php.git",
74
- "reference": "b6919eff87c36b18fe0d4b3a53635df03c8a3b38"
75
  },
76
  "dist": {
77
  "type": "zip",
78
- "url": "https://api.github.com/repos/ifsnop/mysqldump-php/zipball/b6919eff87c36b18fe0d4b3a53635df03c8a3b38",
79
- "reference": "b6919eff87c36b18fe0d4b3a53635df03c8a3b38",
80
  "shasum": ""
81
  },
82
  "require": {
@@ -86,15 +86,14 @@
86
  "phpunit/phpunit": "4.8.36",
87
  "squizlabs/php_codesniffer": "1.*"
88
  },
89
- "time": "2019-10-29T23:13:43+00:00",
90
  "type": "library",
91
- "installation-source": "dist",
92
  "autoload": {
93
  "psr-4": {
94
  "Ifsnop\\": "src/Ifsnop/"
95
  }
96
  },
97
- "notification-url": "https://packagist.org/downloads/",
98
  "license": [
99
  "GPL-3.0-or-later"
100
  ],
@@ -108,7 +107,6 @@
108
  "description": "PHP version of mysqldump cli that comes with MySQL",
109
  "homepage": "https://github.com/ifsnop/mysqldump-php",
110
  "keywords": [
111
- "PHP7",
112
  "database",
113
  "hhvm",
114
  "mariadb",
@@ -118,8 +116,12 @@
118
  "pdo",
119
  "php",
120
  "php5",
 
121
  "sql"
122
- ]
 
 
 
123
  },
124
  {
125
  "name": "phpseclib/phpseclib",
66
  },
67
  {
68
  "name": "ifsnop/mysqldump-php",
69
+ "version": "dev-add-include-views",
70
+ "version_normalized": "dev-add-include-views",
71
  "source": {
72
  "type": "git",
73
+ "url": "https://github.com/BoldGrid/mysqldump-php.git",
74
+ "reference": "e9d009e543795069272d09ed5cb71a865a805522"
75
  },
76
  "dist": {
77
  "type": "zip",
78
+ "url": "https://api.github.com/repos/BoldGrid/mysqldump-php/zipball/e9d009e543795069272d09ed5cb71a865a805522",
79
+ "reference": "e9d009e543795069272d09ed5cb71a865a805522",
80
  "shasum": ""
81
  },
82
  "require": {
86
  "phpunit/phpunit": "4.8.36",
87
  "squizlabs/php_codesniffer": "1.*"
88
  },
89
+ "time": "2020-01-09T19:43:11+00:00",
90
  "type": "library",
91
+ "installation-source": "source",
92
  "autoload": {
93
  "psr-4": {
94
  "Ifsnop\\": "src/Ifsnop/"
95
  }
96
  },
 
97
  "license": [
98
  "GPL-3.0-or-later"
99
  ],
107
  "description": "PHP version of mysqldump cli that comes with MySQL",
108
  "homepage": "https://github.com/ifsnop/mysqldump-php",
109
  "keywords": [
 
110
  "database",
111
  "hhvm",
112
  "mariadb",
116
  "pdo",
117
  "php",
118
  "php5",
119
+ "php7",
120
  "sql"
121
+ ],
122
+ "support": {
123
+ "source": "https://github.com/BoldGrid/mysqldump-php/tree/add-include-views"
124
+ }
125
  },
126
  {
127
  "name": "phpseclib/phpseclib",
vendor/ifsnop/mysqldump-php/.gitattributes ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ /tests export-ignore
2
+ .gitattributes export-ignore
3
+ .gitignore export-ignore
4
+ .scrutinizer.yml export-ignore
5
+ .travis.yml export-ignore
vendor/ifsnop/mysqldump-php/.gitignore ADDED
@@ -0,0 +1,9 @@
 
 
 
 
 
 
 
 
 
1
+ # editors
2
+ /.project
3
+ /.settings
4
+ # Vim swap files
5
+ .*.sw*
6
+
7
+ /composer.lock
8
+ /composer.phar
9
+ /vendor/
vendor/ifsnop/mysqldump-php/.scrutinizer.yml ADDED
@@ -0,0 +1,135 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ build:
2
+ nodes:
3
+ tests: true
4
+ analysis:
5
+ tests:
6
+ override:
7
+ -
8
+ command: phpcs-run
9
+ use_website_config: true
10
+ - php-scrutinizer-run
11
+ dependencies:
12
+ before:
13
+ - 'composer install --dev --prefer-source'
14
+ # Run after dependencies
15
+ project_setup:
16
+ before:
17
+ - 'tests/create_users.sh'
18
+ environment:
19
+ php:
20
+ version: 5.4, 5.5, 5.6, 7.0, 7.1, 7.2, hhvm, nightly
21
+ tools:
22
+ php_loc:
23
+ enabled: true
24
+ command: phploc
25
+ excluded_dirs:
26
+ - vendor
27
+ - tests
28
+ sensiolabs_security_checker: true
29
+ filter:
30
+ excluded_paths:
31
+ - 'vendor/'
32
+ - 'tests/'
33
+ coding_style:
34
+ php: { }
35
+ imports:
36
+ - php
37
+ checks:
38
+ php:
39
+ verify_property_names: true
40
+ verify_argument_usable_as_reference: true
41
+ verify_access_scope_valid: true
42
+ variable_existence: true
43
+ useless_calls: true
44
+ use_statement_alias_conflict: true
45
+ unused_variables: true
46
+ unused_properties: true
47
+ unused_parameters: true
48
+ unused_methods: true
49
+ unreachable_code: true
50
+ too_many_arguments: true
51
+ symfony_request_injection: true
52
+ switch_fallthrough_commented: true
53
+ sql_injection_vulnerabilities: true
54
+ security_vulnerabilities: true
55
+ return_in_constructor: true
56
+ require_scope_for_methods: true
57
+ require_php_tag_first: true
58
+ property_assignments: true
59
+ precedence_mistakes: true
60
+ precedence_in_conditions: true
61
+ parse_doc_comments: true
62
+ parameter_non_unique: true
63
+ overriding_private_members: true
64
+ overriding_parameter: true
65
+ non_commented_empty_catch_block: true
66
+ no_trait_type_hints: true
67
+ no_trailing_whitespace: true
68
+ no_short_open_tag: true
69
+ no_property_on_interface: true
70
+ no_non_implemented_abstract_methods: true
71
+ no_exit: true
72
+ no_eval: true
73
+ no_error_suppression: true
74
+ no_debug_code: true
75
+ missing_arguments: true
76
+ method_calls_on_non_object: true
77
+ instanceof_class_exists: true
78
+ foreach_usable_as_reference: true
79
+ foreach_traversable: true
80
+ fix_doc_comments: true
81
+ encourage_shallow_comparison: true
82
+ duplication: true
83
+ deprecated_code_usage: true
84
+ deadlock_detection_in_loops: true
85
+ comparison_always_same_result: true
86
+ code_rating: true
87
+ closure_use_not_conflicting: true
88
+ closure_use_modifiable: true
89
+ catch_class_exists: true
90
+ call_to_parent_method: true
91
+ avoid_superglobals: true
92
+ avoid_length_functions_in_loops: true
93
+ avoid_entity_manager_injection: true
94
+ avoid_duplicate_types: true
95
+ avoid_closing_tag: true
96
+ assignment_of_null_return: true
97
+ argument_type_checks: true
98
+ simplify_boolean_return: true
99
+ return_doc_comments: true
100
+ return_doc_comment_if_not_inferrable: true
101
+ remove_extra_empty_lines: true
102
+ properties_in_camelcaps: true
103
+ parameters_in_camelcaps: true
104
+ parameter_doc_comments: true
105
+ param_doc_comment_if_not_inferrable: true
106
+ no_short_variable_names:
107
+ minimum: '3'
108
+ no_short_method_names:
109
+ minimum: '3'
110
+ no_long_variable_names:
111
+ maximum: '20'
112
+ no_goto: true
113
+ naming_conventions:
114
+ local_variable: '^[a-z][a-zA-Z0-9]*$'
115
+ abstract_class_name: ^Abstract|Factory$
116
+ utility_class_name: 'Utils?$'
117
+ constant_name: '^[A-Z][A-Z0-9]*(?:_[A-Z0-9]+)*$'
118
+ property_name: '^[a-z][a-zA-Z0-9]*$'
119
+ method_name: '^(?:[a-z]|__)[a-zA-Z0-9]*$'
120
+ parameter_name: '^[a-z][a-zA-Z0-9]*$'
121
+ interface_name: '^[A-Z][a-zA-Z0-9]*Interface$'
122
+ type_name: '^[A-Z][a-zA-Z0-9]*$'
123
+ exception_name: '^[A-Z][a-zA-Z0-9]*Exception$'
124
+ isser_method_name: '^(?:is|has|should|may|supports)'
125
+ more_specific_types_in_doc_comments: true
126
+ fix_use_statements:
127
+ remove_unused: true
128
+ preserve_multiple: false
129
+ preserve_blanklines: false
130
+ order_alphabetically: false
131
+ fix_line_ending: true
132
+ check_method_contracts:
133
+ verify_interface_like_constraints: true
134
+ verify_documented_constraints: true
135
+ verify_parent_constraints: true
vendor/ifsnop/mysqldump-php/.travis.yml ADDED
@@ -0,0 +1,279 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ language: php
2
+
3
+ matrix:
4
+ include:
5
+ - php: 5.3
6
+ dist: precise
7
+ sudo: required
8
+ services:
9
+ - mysql
10
+ before_script:
11
+ - curl -s http://getcomposer.org/installer | php
12
+ - php composer.phar install
13
+ - mysql -V
14
+ - mysqldump -V
15
+ - tests/create_users.sh
16
+ script:
17
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
18
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
19
+ - vendor/bin/phpunit
20
+ - cd tests && ./test.sh
21
+ before_install:
22
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
23
+ - php: 5.4
24
+ dist: precise
25
+ sudo: required
26
+ services:
27
+ - mysql
28
+ before_script:
29
+ - curl -s http://getcomposer.org/installer | php
30
+ - php composer.phar install
31
+ - mysql -V
32
+ - mysqldump -V
33
+ - tests/create_users.sh
34
+ script:
35
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
36
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
37
+ - vendor/bin/phpunit
38
+ - cd tests && ./test.sh
39
+ before_install:
40
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
41
+ - php: 5.5
42
+ dist: precise
43
+ sudo: required
44
+ services:
45
+ - mysql
46
+ before_script:
47
+ - curl -s http://getcomposer.org/installer | php
48
+ - php composer.phar install
49
+ - mysql -V
50
+ - mysqldump -V
51
+ - tests/create_users.sh
52
+ script:
53
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
54
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
55
+ - vendor/bin/phpunit
56
+ - cd tests && ./test.sh
57
+ before_install:
58
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
59
+ - php: 5.6
60
+ dist: precise
61
+ sudo: required
62
+ services:
63
+ - mysql
64
+ before_script:
65
+ - curl -s http://getcomposer.org/installer | php
66
+ - php composer.phar install
67
+ - mysql -V
68
+ - mysqldump -V
69
+ - tests/create_users.sh
70
+ script:
71
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
72
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
73
+ - vendor/bin/phpunit
74
+ - cd tests && ./test.sh
75
+ before_install:
76
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
77
+ - php: 5.6
78
+ dist: xenial
79
+ sudo: required
80
+ services:
81
+ - mysql
82
+ before_script:
83
+ - curl -s http://getcomposer.org/installer | php
84
+ - php composer.phar install
85
+ - mysql -V
86
+ - mysqldump -V
87
+ - tests/create_users.sh
88
+ script:
89
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
90
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
91
+ - vendor/bin/phpunit
92
+ - cd tests && ./test.sh
93
+ before_install:
94
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
95
+ - php: 7.0
96
+ dist: xenial
97
+ sudo: required
98
+ services:
99
+ - mysql
100
+ before_script:
101
+ - curl -s http://getcomposer.org/installer | php
102
+ - php composer.phar install
103
+ - mysql -V
104
+ - mysqldump -V
105
+ - tests/create_users.sh
106
+ script:
107
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
108
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
109
+ - vendor/bin/phpunit
110
+ - cd tests && ./test.sh
111
+ before_install:
112
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
113
+ - php: 7.1
114
+ dist: xenial
115
+ sudo: required
116
+ services:
117
+ - mysql
118
+ before_script:
119
+ - curl -s http://getcomposer.org/installer | php
120
+ - php composer.phar install
121
+ - mysql -V
122
+ - mysqldump -V
123
+ - tests/create_users.sh
124
+ script:
125
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
126
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
127
+ - vendor/bin/phpunit
128
+ - cd tests && ./test.sh
129
+ before_install:
130
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
131
+ - php: 7.2
132
+ dist: xenial
133
+ sudo: required
134
+ services:
135
+ - mysql
136
+ before_script:
137
+ - curl -s http://getcomposer.org/installer | php
138
+ - php composer.phar install
139
+ - mysql -V
140
+ - mysqldump -V
141
+ - tests/create_users.sh
142
+ script:
143
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
144
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
145
+ - vendor/bin/phpunit
146
+ - cd tests && ./test.sh
147
+ before_install:
148
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
149
+ - php: 7.3
150
+ dist: xenial
151
+ sudo: required
152
+ services:
153
+ - mysql
154
+ before_script:
155
+ - curl -s http://getcomposer.org/installer | php
156
+ - php composer.phar install
157
+ - mysql -V
158
+ - mysqldump -V
159
+ - tests/create_users.sh
160
+ script:
161
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
162
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
163
+ - vendor/bin/phpunit
164
+ - cd tests && ./test.sh
165
+ before_install:
166
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
167
+ - php: 7.4
168
+ dist: xenial
169
+ sudo: required
170
+ services:
171
+ - mysql
172
+ before_script:
173
+ - curl -s http://getcomposer.org/installer | php
174
+ - php composer.phar install
175
+ - mysql -V
176
+ - mysqldump -V
177
+ - tests/create_users.sh
178
+ script:
179
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
180
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
181
+ - vendor/bin/phpunit
182
+ - cd tests && ./test.sh
183
+ before_install:
184
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
185
+ - php: nightly
186
+ dist: xenial
187
+ sudo: required
188
+ services:
189
+ - mysql
190
+ before_script:
191
+ - curl -s http://getcomposer.org/installer | php
192
+ - php composer.phar install
193
+ - mysql -V
194
+ - mysqldump -V
195
+ - tests/create_users.sh
196
+ script:
197
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
198
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
199
+ - vendor/bin/phpunit
200
+ - cd tests && ./test.sh
201
+ before_install:
202
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
203
+ - php: hhvm-3.18
204
+ dist: xenial
205
+ sudo: required
206
+ services:
207
+ - mysql
208
+ before_script:
209
+ - curl -s http://getcomposer.org/installer | php
210
+ - php composer.phar install
211
+ - mysql -V
212
+ - mysqldump -V
213
+ - tests/create_users.sh
214
+ script:
215
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
216
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
217
+ - vendor/bin/phpunit
218
+ - cd tests && ./test.sh
219
+ before_install:
220
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
221
+ - php: hhvm-3.21
222
+ dist: xenial
223
+ sudo: required
224
+ services:
225
+ - mysql
226
+ before_script:
227
+ - curl -s http://getcomposer.org/installer | php
228
+ - php composer.phar install
229
+ - mysql -V
230
+ - mysqldump -V
231
+ - tests/create_users.sh
232
+ script:
233
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
234
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
235
+ - vendor/bin/phpunit
236
+ - cd tests && ./test.sh
237
+ before_install:
238
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
239
+ - php: hhvm-3.24
240
+ dist: xenial
241
+ sudo: required
242
+ services:
243
+ - mysql
244
+ before_script:
245
+ - curl -s http://getcomposer.org/installer | php
246
+ - php composer.phar install
247
+ - mysql -V
248
+ - mysqldump -V
249
+ - tests/create_users.sh
250
+ script:
251
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
252
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
253
+ - vendor/bin/phpunit
254
+ - cd tests && ./test.sh
255
+ before_install:
256
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
257
+ - php: hhvm
258
+ dist: xenial
259
+ sudo: required
260
+ services:
261
+ - mysql
262
+ before_script:
263
+ - curl -s http://getcomposer.org/installer | php
264
+ - php composer.phar install
265
+ - mysql -V
266
+ - mysqldump -V
267
+ - tests/create_users.sh
268
+ script:
269
+ - php -l src/Ifsnop/Mysqldump/Mysqldump.php
270
+ - php src/Ifsnop/Mysqldump/Mysqldump.php
271
+ - vendor/bin/phpunit
272
+ - cd tests && ./test.sh
273
+ before_install:
274
+ - sudo mysql -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
275
+
276
+ allow_failures:
277
+ - php: 5.3
278
+ - php: nightly
279
+ - php: hhvm
vendor/ifsnop/mysqldump-php/README.md CHANGED
@@ -25,7 +25,7 @@ Out of the box, MySQLDump-PHP supports backing up table structures, the data its
25
  MySQLDump-PHP is the only library that supports:
26
  * output binary blobs as hex.
27
  * resolves view dependencies (using Stand-In tables).
28
- * output compared against original mysqldump. Linked to travis-ci testing system (testing from php 5.3 to 7.1 & hhvm)
29
  * dumps stored routines (functions and procedures).
30
  * dumps events.
31
  * does extended-insert and/or complete-insert.
25
  MySQLDump-PHP is the only library that supports:
26
  * output binary blobs as hex.
27
  * resolves view dependencies (using Stand-In tables).
28
+ * output compared against original mysqldump. Linked to travis-ci testing system (testing from php 5.3 to 7.3 & hhvm)
29
  * dumps stored routines (functions and procedures).
30
  * dumps events.
31
  * does extended-insert and/or complete-insert.
vendor/ifsnop/mysqldump-php/src/Ifsnop/Mysqldump/Mysqldump.php CHANGED
@@ -132,6 +132,7 @@ class Mysqldump
132
  $dumpSettingsDefault = array(
133
  'include-tables' => array(),
134
  'exclude-tables' => array(),
 
135
  'compress' => Mysqldump::NONE,
136
  'init_commands' => array(),
137
  'no-data' => array(),
@@ -196,8 +197,10 @@ class Mysqldump
196
  throw new Exception("Include-tables and exclude-tables should be arrays");
197
  }
198
 
199
- // Dump the same views as tables, mimic mysqldump behaviour
200
- $this->dumpSettings['include-views'] = $this->dumpSettings['include-tables'];
 
 
201
 
202
  // Create a new compressManager to manage compressed output
203
  $this->compressManager = CompressManagerFactory::create($this->dumpSettings['compress']);
132
  $dumpSettingsDefault = array(
133
  'include-tables' => array(),
134
  'exclude-tables' => array(),
135
+ 'include-views' => array(),
136
  'compress' => Mysqldump::NONE,
137
  'init_commands' => array(),
138
  'no-data' => array(),
197
  throw new Exception("Include-tables and exclude-tables should be arrays");
198
  }
199
 
200
+ // If no include-views is passed in, dump the same views as tables, mimic mysqldump behaviour.
201
+ if ( ! isset( $dumpSettings['include-views'] ) ) {
202
+ $this->dumpSettings['include-views'] = $this->dumpSettings['include-tables'];
203
+ }
204
 
205
  // Create a new compressManager to manage compressed output
206
  $this->compressManager = CompressManagerFactory::create($this->dumpSettings['compress']);
vendor/ifsnop/mysqldump-php/tests/create_users.sh ADDED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ mysql -u root -e "CREATE USER 'travis'@'%';"
4
+ mysql -u root -e "CREATE DATABASE test001;"
5
+ mysql -u root -e "CREATE DATABASE test002;"
6
+ mysql -u root -e "CREATE DATABASE test005;"
7
+ mysql -u root -e "CREATE DATABASE test006a;"
8
+ mysql -u root -e "CREATE DATABASE test006b;"
9
+ mysql -u root -e "CREATE DATABASE test008;"
10
+ mysql -u root -e "CREATE DATABASE test009;"
11
+ mysql -u root -e "CREATE DATABASE test010;"
12
+ mysql -u root -e "CREATE DATABASE test011;"
13
+ mysql -u root -e "CREATE DATABASE test012;"
14
+ mysql -u root -e "GRANT ALL PRIVILEGES ON test001.* TO 'travis'@'%' WITH GRANT OPTION;"
15
+ mysql -u root -e "GRANT ALL PRIVILEGES ON test002.* TO 'travis'@'%' WITH GRANT OPTION;"
16
+ mysql -u root -e "GRANT ALL PRIVILEGES ON test005.* TO 'travis'@'%' WITH GRANT OPTION;"
17
+ mysql -u root -e "GRANT ALL PRIVILEGES ON test006a.* TO 'travis'@'%' WITH GRANT OPTION;"
18
+ mysql -u root -e "GRANT ALL PRIVILEGES ON test006b.* TO 'travis'@'%' WITH GRANT OPTION;"
19
+ mysql -u root -e "GRANT ALL PRIVILEGES ON test008.* TO 'travis'@'%' WITH GRANT OPTION;"
20
+ mysql -u root -e "GRANT ALL PRIVILEGES ON test009.* TO 'travis'@'%' WITH GRANT OPTION;"
21
+ mysql -u root -e "GRANT ALL PRIVILEGES ON test010.* TO 'travis'@'%' WITH GRANT OPTION;"
22
+ mysql -u root -e "GRANT ALL PRIVILEGES ON test011.* TO 'travis'@'%' WITH GRANT OPTION;"
23
+ mysql -u root -e "GRANT ALL PRIVILEGES ON test012.* TO 'travis'@'%' WITH GRANT OPTION;"
24
+ mysql -u root -e "GRANT SUPER,LOCK TABLES ON *.* TO 'travis'@'%';"
25
+ mysql -u root -e "GRANT SELECT ON mysql.proc to 'travis'@'%';"
26
+ mysql -u root -e "FLUSH PRIVILEGES;"
vendor/ifsnop/mysqldump-php/tests/delete_users.sh ADDED
@@ -0,0 +1,16 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ mysql -e "DROP DATABASE test001;"
4
+ mysql -e "DROP DATABASE test002;"
5
+ mysql -e "DROP DATABASE test005;"
6
+ mysql -e "DROP DATABASE test006a;"
7
+ mysql -e "DROP DATABASE test006b;"
8
+ mysql -e "DROP DATABASE test008;"
9
+ mysql -e "DROP DATABASE test009;"
10
+ mysql -e "DROP DATABASE test010;"
11
+ mysql -e "DROP DATABASE test011;"
12
+ mysql -e "DROP DATABASE test012;"
13
+
14
+ mysql -e "DROP USER 'travis'";
15
+
16
+ mysql -e "FLUSH PRIVILEGES;"
vendor/ifsnop/mysqldump-php/tests/test.php ADDED
@@ -0,0 +1,165 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /*
3
+ for($i=0;$i<128;$i++) {
4
+ echo "$i>" . bin2hex(chr($i)) . "<" . PHP_EOL;
5
+ }
6
+ */
7
+ date_default_timezone_set('UTC');
8
+
9
+ error_reporting(E_ALL);
10
+
11
+ include_once(dirname(__FILE__) . "/../src/Ifsnop/Mysqldump/Mysqldump.php");
12
+
13
+ use Ifsnop\Mysqldump as IMysqldump;
14
+
15
+ $dumpSettings = array(
16
+ 'exclude-tables' => array('/^travis*/'),
17
+ 'compress' => IMysqldump\Mysqldump::NONE,
18
+ 'no-data' => false,
19
+ 'add-drop-table' => true,
20
+ 'single-transaction' => true,
21
+ 'lock-tables' => true,
22
+ 'add-locks' => true,
23
+ 'extended-insert' => false,
24
+ 'disable-keys' => true,
25
+ 'skip-triggers' => false,
26
+ 'add-drop-trigger' => true,
27
+ 'routines' => true,
28
+ 'databases' => false,
29
+ 'add-drop-database' => false,
30
+ 'hex-blob' => true,
31
+ 'no-create-info' => false,
32
+ 'where' => ''
33
+ );
34
+
35
+ // do nothing test
36
+ print "starting mysql-php_test000.sql" . PHP_EOL;
37
+ $dump = new IMysqldump\Mysqldump(
38
+ "mysql:host=localhost;dbname=test001",
39
+ "travis",
40
+ ""
41
+ );
42
+
43
+ print "starting mysql-php_test001.sql" . PHP_EOL;
44
+ $dump = new IMysqldump\Mysqldump(
45
+ "mysql:host=localhost;dbname=test001",
46
+ "travis",
47
+ "",
48
+ $dumpSettings);
49
+ $dump->start("mysqldump-php_test001.sql");
50
+
51
+ // checks if complete-insert && hex-blob works ok together
52
+ print "starting mysql-php_test001_complete.sql" . PHP_EOL;
53
+ $dumpSettings['complete-insert'] = true;
54
+ $dump = new IMysqldump\Mysqldump(
55
+ "mysql:host=localhost;dbname=test001",
56
+ "travis",
57
+ "",
58
+ $dumpSettings);
59
+ $dump->start("mysqldump-php_test001_complete.sql");
60
+
61
+ print "starting mysql-php_test002.sql" . PHP_EOL;
62
+ $dumpSettings['default-character-set'] = IMysqldump\Mysqldump::UTF8MB4;
63
+ $dumpSettings['complete-insert'] = true;
64
+ $dump = new IMysqldump\Mysqldump(
65
+ "mysql:host=localhost;dbname=test002",
66
+ "travis",
67
+ "",
68
+ $dumpSettings);
69
+ $dump->start("mysqldump-php_test002.sql");
70
+
71
+ print "starting mysql-php_test005.sql" . PHP_EOL;
72
+ $dumpSettings['complete-insert'] = false;
73
+ $dump = new IMysqldump\Mysqldump(
74
+ "mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=test005",
75
+ "travis",
76
+ "",
77
+ $dumpSettings);
78
+ $dump->start("mysqldump-php_test005.sql");
79
+
80
+ print "starting mysql-php_test006.sql" . PHP_EOL;
81
+ $dump = new IMysqldump\Mysqldump(
82
+ "mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=test006a",
83
+ "travis",
84
+ "",
85
+ array("no-data" => true, "add-drop-table" => true));
86
+ $dump->start("mysqldump-php_test006.sql");
87
+
88
+ print "starting mysql-php_test008.sql" . PHP_EOL;
89
+ $dump = new IMysqldump\Mysqldump(
90
+ "mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=test008",
91
+ "travis",
92
+ "",
93
+ array("no-data" => true, "add-drop-table" => true));
94
+ $dump->start("mysqldump-php_test008.sql");
95
+
96
+ print "starting mysql-php_test009.sql" . PHP_EOL;
97
+ $dump = new IMysqldump\Mysqldump(
98
+ "mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=test009",
99
+ "travis",
100
+ "",
101
+ array("no-data" => true, "add-drop-table" => true, "reset-auto-increment" => true, "add-drop-database" => true));
102
+ $dump->start("mysqldump-php_test009.sql");
103
+
104
+ print "starting mysql-php_test010.sql" . PHP_EOL;
105
+ $dump = new IMysqldump\Mysqldump(
106
+ "mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=test010",
107
+ "travis",
108
+ "",
109
+ array("events" => true));
110
+ $dump->start("mysqldump-php_test010.sql");
111
+
112
+ print "starting mysql-php_test011a.sql" . PHP_EOL;
113
+ $dump = new IMysqldump\Mysqldump(
114
+ "mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=test011",
115
+ "travis",
116
+ "",
117
+ array('complete-insert' => false));
118
+ $dump->start("mysqldump-php_test011a.sql");
119
+
120
+ print "starting mysql-php_test011b.sql" . PHP_EOL;
121
+ $dump = new IMysqldump\Mysqldump(
122
+ "mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=test011",
123
+ "travis",
124
+ "",
125
+ array('complete-insert' => true));
126
+ $dump->start("mysqldump-php_test011b.sql");
127
+
128
+ print "starting mysql-php_test012.sql" . PHP_EOL;
129
+ $dump = new IMysqldump\Mysqldump(
130
+ "mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=test012",
131
+ "travis",
132
+ "",
133
+ array("events" => true,
134
+ 'skip-triggers' => false,
135
+ 'routines' => true,
136
+ 'add-drop-trigger' => true,
137
+ ));
138
+ $dump->start("mysqldump-php_test012.sql");
139
+
140
+ print "starting mysql-php_test012b_no-definer.sql" . PHP_EOL;
141
+ $dump = new IMysqldump\Mysqldump(
142
+ "mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=test012",
143
+ "travis",
144
+ "",
145
+ array(
146
+ "events" => true,
147
+ 'skip-triggers' => false,
148
+ 'routines' => true,
149
+ 'add-drop-trigger' => true,
150
+ 'skip-definer' => true,
151
+ ));
152
+ $dump->start("mysqldump-php_test012_no-definer.sql");
153
+
154
+ print "starting mysql-php_test013.sql" . PHP_EOL;
155
+ $dump = new IMysqldump\Mysqldump(
156
+ "mysql:unix_socket=/var/run/mysqld/mysqld.sock;dbname=test001",
157
+ "travis",
158
+ "",
159
+ array(
160
+ "insert-ignore" => true,
161
+ "extended-insert" => false
162
+ ));
163
+ $dump->start("mysqldump-php_test013.sql");
164
+
165
+ exit(0);
vendor/ifsnop/mysqldump-php/tests/test.sh ADDED
@@ -0,0 +1,284 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #!/bin/bash
2
+
3
+ major=`mysql -u travis -e "SELECT @@version\G" | grep version |awk '{print $2}' | awk -F"." '{print $1}'`
4
+ medium=`mysql -u travis -e "SELECT @@version\G" | grep version |awk '{print $2}' | awk -F"." '{print $2}'`
5
+ minor=`mysql -u travis -e "SELECT @@version\G" | grep version |awk '{print $2}' | awk -F"." '{print $3}'`
6
+
7
+ echo Testing against mysql server version $major.$medium.$minor
8
+
9
+ function checksum_test001() {
10
+ for i in 000 001 002 003 010 011 015 027 029 033 200; do
11
+ mysql -utravis -B -e "CHECKSUM TABLE test${i}" test001 | grep -v -i checksum
12
+ done
13
+ }
14
+
15
+ function checksum_test002() {
16
+ for i in 201; do
17
+ mysql -utravis --default-character-set=utf8mb4 -B -e "CHECKSUM TABLE test${i}" test002 | grep -v -i checksum
18
+ done
19
+ }
20
+
21
+ function checksum_test005() {
22
+ for i in 000; do
23
+ mysql -utravis -B -e "CHECKSUM TABLE test${i}" test001 | grep -v -i checksum
24
+ done
25
+ }
26
+
27
+ for i in $(seq 0 40) ; do
28
+ ret[$i]=0
29
+ done
30
+
31
+ index=0
32
+
33
+ mysql -utravis < test001.src.sql; errCode=$?; ret[((index++))]=$errCode
34
+ if [[ $errCode -ne 0 ]]; then echo "error test001.src.sql"; fi
35
+
36
+ mysql -utravis --default-character-set=utf8mb4 < test002.src.sql; errCode=$?; ret[((index++))]=$errCode
37
+ if [[ $errCode -ne 0 ]]; then echo "error test002.src.sql"; fi
38
+
39
+ mysql -utravis < test005.src.sql; errCode=$?; ret[((index++))]=$errCode
40
+ if [[ $errCode -ne 0 ]]; then echo "error test005.src.sql"; fi
41
+
42
+ mysql -utravis < test006.src.sql; errCode=$?; ret[((index++))]=$errCode
43
+ if [[ $errCode -ne 0 ]]; then echo "error test006.src.sql"; fi
44
+
45
+ mysql -utravis < test008.src.sql; errCode=$?; ret[((index++))]=$errCode
46
+ if [[ $errCode -ne 0 ]]; then echo "error test008.src.sql"; fi
47
+
48
+ mysql -utravis < test009.src.sql; errCode=$?; ret[((index++))]=$errCode
49
+ if [[ $errCode -ne 0 ]]; then echo "error test001.src.sql"; fi
50
+
51
+ mysql -utravis < test010.src.sql; errCode=$?; ret[((index++))]=$errCode
52
+ if [[ $errCode -ne 0 ]]; then echo "error test010.src.sql"; fi
53
+
54
+ if [[ $major -eq 5 && $medium -ge 7 ]]; then
55
+ # test virtual column support, with simple inserts forced to complete (a) and complete inserts (b)
56
+ mysql -utravis < test011.src.sql; errCode=$?; ret[((index++))]=$errCode
57
+ else
58
+ echo "test011 disabled, only valid for mysql server version > 5.7.0"
59
+ fi
60
+ mysql -utravis < test012.src.sql; errCode=$?; ret[((index++))]=$errCode
61
+ #mysql -utravis < test013.src.sql; errCode=$?; ret[((index++))]=$errCode
62
+
63
+ checksum_test001 > test001.src.checksum
64
+ checksum_test002 > test002.src.checksum
65
+ checksum_test005 > test005.src.checksum
66
+ mysqldump -utravis test001 \
67
+ --no-autocommit \
68
+ --skip-extended-insert \
69
+ --hex-blob \
70
+ --routines \
71
+ > mysqldump_test001.sql
72
+ errCode=$?; ret[((index++))]=$errCode
73
+
74
+ mysqldump -utravis test001 \
75
+ --no-autocommit \
76
+ --skip-extended-insert \
77
+ --complete-insert=true \
78
+ --hex-blob \
79
+ --routines \
80
+ > mysqldump_test001_complete.sql
81
+ errCode=$?; ret[((index++))]=$errCode
82
+
83
+ mysqldump -utravis test002 \
84
+ --no-autocommit \
85
+ --skip-extended-insert \
86
+ --complete-insert \
87
+ --hex-blob \
88
+ --default-character-set=utf8mb4 \
89
+ > mysqldump_test002.sql
90
+ errCode=$?; ret[((index++))]=$errCode
91
+
92
+ mysqldump -utravis test005 \
93
+ --no-autocommit \
94
+ --skip-extended-insert \
95
+ --hex-blob \
96
+ > mysqldump_test005.sql
97
+ errCode=$?; ret[((index++))]=$errCode
98
+
99
+ mysqldump -utravis test012 \
100
+ --no-autocommit \
101
+ --skip-extended-insert \
102
+ --hex-blob \
103
+ --events \
104
+ --routines \
105
+ > mysqldump_test012.sql
106
+ errCode=$?; ret[((index++))]=$errCode
107
+
108
+ mysqldump -utravis test001 \
109
+ --no-autocommit \
110
+ --skip-extended-insert \
111
+ --hex-blob \
112
+ --insert-ignore \
113
+ > mysqldump_test013.sql
114
+ errCode=$?; ret[((index++))]=$errCode
115
+
116
+ php test.php || { echo "ERROR running test.php" && exit -1; }
117
+ errCode=$?; ret[((index++))]=$errCode
118
+
119
+ mysql -utravis test001 < mysqldump-php_test001.sql
120
+ errCode=$?; ret[((index++))]=$errCode
121
+ mysql -utravis test002 < mysqldump-php_test002.sql
122
+ errCode=$?; ret[((index++))]=$errCode
123
+ mysql -utravis test005 < mysqldump-php_test005.sql
124
+ errCode=$?; ret[((index++))]=$errCode
125
+ mysql -utravis test006b < mysqldump-php_test006.sql
126
+ errCode=$?; ret[((index++))]=$errCode
127
+ mysql -utravis test009 < mysqldump-php_test009.sql
128
+ errCode=$?; ret[((index++))]=$errCode
129
+
130
+ checksum_test001 > mysqldump-php_test001.checksum
131
+ checksum_test002 > mysqldump-php_test002.checksum
132
+ checksum_test005 > mysqldump-php_test005.checksum
133
+
134
+ cat test001.src.sql | grep ^INSERT > test001.filtered.sql
135
+ cat test002.src.sql | grep ^INSERT > test002.filtered.sql
136
+ cat test005.src.sql | grep ^INSERT > test005.filtered.sql
137
+ cat test008.src.sql | grep FOREIGN > test008.filtered.sql
138
+ cat test010.src.sql | grep CREATE | grep EVENT > test010.filtered.sql
139
+
140
+ if [[ $major -eq 5 && $medium -ge 7 ]]; then
141
+ # test virtual column support, with simple inserts forced to complete (a) and complete inserts (b)
142
+ cat test011.src.sql | egrep "INSERT|GENERATED" > test011.filtered.sql
143
+ else
144
+ echo "test011 disabled, only valid for mysql server version > 5.7.0"
145
+ fi
146
+
147
+ cat mysqldump_test001.sql | grep ^INSERT > mysqldump_test001.filtered.sql
148
+ cat mysqldump_test001_complete.sql | grep ^INSERT > mysqldump_test001_complete.filtered.sql
149
+ cat mysqldump_test002.sql | grep ^INSERT > mysqldump_test002.filtered.sql
150
+ cat mysqldump_test005.sql | grep ^INSERT > mysqldump_test005.filtered.sql
151
+ cat mysqldump_test012.sql | grep -E -e '50001 (CREATE|VIEW)' -e '50013 DEFINER' -e 'TRIGGER' -e 'FUNCTION' -e 'PROCEDURE' | grep -v -e 'TABLE' -e 'CREATE VIEW' > mysqldump_test012.filtered.sql
152
+ cat mysqldump_test013.sql | grep "INSERT" > mysqldump_test013.filtered.sql
153
+ cat mysqldump-php_test001.sql | grep ^INSERT > mysqldump-php_test001.filtered.sql
154
+ cat mysqldump-php_test001_complete.sql | grep ^INSERT > mysqldump-php_test001_complete.filtered.sql
155
+ cat mysqldump-php_test002.sql | grep ^INSERT > mysqldump-php_test002.filtered.sql
156
+ cat mysqldump-php_test005.sql | grep ^INSERT > mysqldump-php_test005.filtered.sql
157
+ cat mysqldump-php_test008.sql | grep FOREIGN > mysqldump-php_test008.filtered.sql
158
+ cat mysqldump-php_test010.sql | grep CREATE | grep EVENT > mysqldump-php_test010.filtered.sql
159
+
160
+ if [[ $major -eq 5 && $medium -ge 7 ]]; then
161
+ # test virtual column support, with simple inserts forced to complete (a) and complete inserts (b)
162
+ cat mysqldump-php_test011a.sql | egrep "INSERT|GENERATED" > mysqldump-php_test011a.filtered.sql
163
+ cat mysqldump-php_test011b.sql | egrep "INSERT|GENERATED" > mysqldump-php_test011b.filtered.sql
164
+ else
165
+ echo "test011 disabled, only valid for mysql server version > 5.7.0"
166
+ fi
167
+
168
+ cat mysqldump-php_test012.sql | grep -E -e '50001 (CREATE|VIEW)' -e '50013 DEFINER' -e 'CREATE.*TRIGGER' -e 'FUNCTION' -e 'PROCEDURE' > mysqldump-php_test012.filtered.sql
169
+ cat mysqldump-php_test013.sql | grep INSERT > mysqldump-php_test013.filtered.sql
170
+
171
+ test="test $index diff test001.filtered.sql mysqldump_test001.filtered.sql"
172
+ diff test001.filtered.sql mysqldump_test001.filtered.sql
173
+ errCode=$?; ret[((index++))]=$errCode
174
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
175
+
176
+ test="test $index diff mysqldump_test001_complete.filtered.sql mysqldump-php_test001_complete.filtered.sql"
177
+ diff mysqldump_test001_complete.filtered.sql mysqldump-php_test001_complete.filtered.sql
178
+ errCode=$?; ret[((index++))]=$errCode
179
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
180
+
181
+ test="test $index diff test002.filtered.sql mysqldump_test002.filtered.sql"
182
+ diff test002.filtered.sql mysqldump_test002.filtered.sql
183
+ errCode=$?; ret[((index++))]=$errCode
184
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
185
+
186
+ test="test $index diff test001.filtered.sql mysqldump-php_test001.filtered.sql"
187
+ diff test001.filtered.sql mysqldump-php_test001.filtered.sql
188
+ errCode=$?; ret[((index++))]=$errCode
189
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
190
+
191
+ test="test $index diff test002.filtered.sql mysqldump-php_test002.filtered.sql"
192
+ diff test002.filtered.sql mysqldump-php_test002.filtered.sql
193
+ errCode=$?; ret[((index++))]=$errCode
194
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
195
+
196
+ test="test $index diff test001.src.checksum mysqldump-php_test001.checksum"
197
+ diff test001.src.checksum mysqldump-php_test001.checksum
198
+ errCode=$?; ret[((index++))]=$errCode
199
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
200
+
201
+ test="test $index diff test002.src.checksum mysqldump-php_test002.checksum"
202
+ diff test002.src.checksum mysqldump-php_test002.checksum
203
+ errCode=$?; ret[((index++))]=$errCode
204
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
205
+
206
+ test="test $index diff test005.src.checksum mysqldump-php_test005.checksum"
207
+ diff test005.src.checksum mysqldump-php_test005.checksum
208
+ errCode=$?; ret[((index++))]=$errCode
209
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
210
+
211
+ test="test $index diff mysqldump_test005.filtered.sql mysqldump-php_test005.filtered.sql"
212
+ diff mysqldump_test005.filtered.sql mysqldump-php_test005.filtered.sql
213
+ errCode=$?; ret[((index++))]=$errCode
214
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
215
+
216
+ test="test $index diff test008.filtered.sql mysqldump-php_test008.filtered.sql"
217
+ diff test008.filtered.sql mysqldump-php_test008.filtered.sql
218
+ errCode=$?; ret[((index++))]=$errCode
219
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
220
+
221
+ #test reset-auto-increment, make sure we don't find an AUTO_INCREMENT
222
+ test="test $index cat mysqldump-php_test009.sql \| grep -i ENGINE \| grep AUTO_INCREMENT"
223
+ cat mysqldump-php_test009.sql | grep -i ENGINE | (! grep AUTO_INCREMENT)
224
+ errCode=$?; ret[((index++))]=$errCode
225
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
226
+
227
+ # test backup events
228
+ test="test $index diff test010.filtered.sql mysqldump-php_test010.filtered.sql"
229
+ diff test010.filtered.sql mysqldump-php_test010.filtered.sql
230
+ errCode=$?; ret[((index++))]=$errCode
231
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
232
+
233
+ if [[ $major -eq 5 && $medium -ge 7 ]]; then
234
+ # test virtual column support, with simple inserts forced to complete (a) and complete inserts (b)
235
+ test="test $index diff test011.filtered.sql mysqldump-php_test011a.filtered.sql"
236
+ diff test011.filtered.sql mysqldump-php_test011a.filtered.sql
237
+ errCode=$?; ret[((index++))]=$errCode
238
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
239
+ test="test $index diff test011.filtered.sql mysqldump-php_test011b.filtered.sql"
240
+ diff test011.filtered.sql mysqldump-php_test011b.filtered.sql
241
+ errCode=$?; ret[((index++))]=$errCode
242
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
243
+ else
244
+ echo test011 disabled, only valid for mysql server version > 5.7.0
245
+ fi
246
+
247
+ # Test create views, events, trigger
248
+ test="test $index diff mysqldump_test012.filtered.sql mysqldump-php_test012.filtered.sql"
249
+ diff mysqldump_test012.filtered.sql mysqldump-php_test012.filtered.sql
250
+ errCode=$?; ret[((index++))]=$errCode
251
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
252
+
253
+ # Make sure we do not find a DEFINER
254
+ test="test $index grep 'DEFINER' mysqldump-php_test012_no-definer.sql"
255
+ ! grep 'DEFINER' mysqldump-php_test012_no-definer.sql
256
+ errCode=$?; ret[((index++))]=$errCode
257
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
258
+
259
+ # test INSERT IGNORE
260
+ test="test $index diff mysqldump_test013.filtered.sql mysqldump-php_test013.filtered.sql"
261
+ diff mysqldump_test013.filtered.sql mysqldump-php_test013.filtered.sql
262
+ errCode=$?; ret[((index++))]=$errCode
263
+ if [[ $errCode -ne 0 ]]; then echo $test; fi
264
+
265
+ echo "Done $index tests"
266
+
267
+ retvalue=0
268
+ for i in $(seq 0 $index) ; do
269
+ if [[ ${ret[$i]} -ne 0 ]]; then
270
+ echo "test $i returned ${ret[$i]}"
271
+ retvalue=${ret[$i]}
272
+ fi
273
+ # total=$((${ret[$i]} + $total))
274
+ done
275
+
276
+ echo "Exiting with code $retvalue"
277
+
278
+ if [[ $retvalue -eq 0 ]]; then
279
+ rm *.checksum 2> /dev/null
280
+ rm *.filtered.sql 2> /dev/null
281
+ rm mysqldump* 2> /dev/null
282
+ fi
283
+
284
+ exit $retvalue
vendor/ifsnop/mysqldump-php/tests/test001.src.sql ADDED
@@ -0,0 +1,140 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DROP DATABASE IF EXISTS `test001`;
2
+ CREATE DATABASE `test001`;
3
+ USE `test001`;
4
+
5
+ DROP TABLE IF EXISTS `test000`;
6
+ CREATE TABLE `test000` (
7
+ `id` int,
8
+ `col01` bit(6) DEFAULT NULL,
9
+ `col02` tinyint(4) DEFAULT NULL,
10
+ `col03` tinyint(4) UNSIGNED DEFAULT NULL,
11
+ `col10` bigint DEFAULT NULL,
12
+ `col11` bigint UNSIGNED DEFAULT NULL,
13
+ `col15` double DEFAULT NULL,
14
+ `col27` varchar(6) DEFAULT NULL
15
+ );
16
+ INSERT INTO `test000` VALUES (1,0x21,-128,255,-9223372036854775808,18446744073709551615,-2.2250738585072014e-308,'0abcde');
17
+
18
+ DROP TABLE IF EXISTS `test001`;
19
+ CREATE TABLE `test001` (
20
+ `id` int,
21
+ `col` bit(1) DEFAULT NULL
22
+ );
23
+ INSERT INTO `test001` VALUES (1,NULL);
24
+ INSERT INTO `test001` VALUES (2,0x00);
25
+ INSERT INTO `test001` VALUES (3,0x01);
26
+
27
+ DROP TABLE IF EXISTS `test002`;
28
+ CREATE TABLE `test002` (
29
+ `id` int,
30
+ `col` tinyint(4) DEFAULT NULL
31
+ );
32
+ INSERT INTO `test002` VALUES (1,NULL);
33
+ INSERT INTO `test002` VALUES (2,-128);
34
+ INSERT INTO `test002` VALUES (3,0);
35
+ INSERT INTO `test002` VALUES (4,127);
36
+
37
+ DROP TABLE IF EXISTS `test003`;
38
+ CREATE TABLE `test003` (
39
+ `id` int,
40
+ `col` tinyint(4) UNSIGNED DEFAULT NULL
41
+ );
42
+ INSERT INTO `test003` VALUES (1,NULL);
43
+ INSERT INTO `test003` VALUES (2,0);
44
+ INSERT INTO `test003` VALUES (3,255);
45
+
46
+ DROP TABLE IF EXISTS `test010`;
47
+ CREATE TABLE `test010` (
48
+ `id` int,
49
+ `col` bigint DEFAULT NULL
50
+ );
51
+ INSERT INTO `test010` VALUES (1,NULL);
52
+ INSERT INTO `test010` VALUES (2,-9223372036854775808);
53
+ INSERT INTO `test010` VALUES (3,0);
54
+ INSERT INTO `test010` VALUES (4,9223372036854775807);
55
+
56
+ DROP TABLE IF EXISTS `test011`;
57
+ CREATE TABLE `test011` (
58
+ `id` int,
59
+ `col` bigint UNSIGNED DEFAULT NULL
60
+ );
61
+ INSERT INTO `test011` VALUES (1,NULL);
62
+ INSERT INTO `test011` VALUES (3,0);
63
+ INSERT INTO `test011` VALUES (4,18446744073709551615);
64
+
65
+
66
+ DROP TABLE IF EXISTS `test015`;
67
+ CREATE TABLE `test015` (
68
+ `id` int,
69
+ `col` double DEFAULT NULL
70
+ );
71
+ INSERT INTO `test015` VALUES (1,NULL);
72
+ INSERT INTO `test015` VALUES (2,-1.7976931348623157e308);
73
+ INSERT INTO `test015` VALUES (3,-2.2250738585072014e-308);
74
+ INSERT INTO `test015` VALUES (4,0);
75
+ INSERT INTO `test015` VALUES (5,2.2250738585072014e-308);
76
+ INSERT INTO `test015` VALUES (6,1.7976931348623157e308);
77
+
78
+
79
+ DROP TABLE IF EXISTS `test027`;
80
+ CREATE TABLE `test027` (
81
+ `id` int,
82
+ `col` varchar(6) DEFAULT NULL
83
+ );
84
+ INSERT INTO `test027` VALUES (1,NULL);
85
+ INSERT INTO `test027` VALUES (2,'');
86
+ INSERT INTO `test027` VALUES (3,'0');
87
+ INSERT INTO `test027` VALUES (4,'2e308');
88
+ INSERT INTO `test027` VALUES (5,'999.99');
89
+ INSERT INTO `test027` VALUES (6,'-2e-30');
90
+ INSERT INTO `test027` VALUES (7,'-99.99');
91
+ INSERT INTO `test027` VALUES (8,'0');
92
+ INSERT INTO `test027` VALUES (9,'0abcde');
93
+ INSERT INTO `test027` VALUES (10,'123');
94
+
95
+ DROP TABLE IF EXISTS `test029`;
96
+ CREATE TABLE `test029` (
97
+ `id` int,
98
+ `col` blob NOT NULL
99
+ );
100
+ INSERT INTO `test029` VALUES (1,0x00010203040506070809909192939495969798A9);
101
+ -- mysqldump 5.7.23 has a bug, an appends _binary to empty blob data, which is incorrect.
102
+ -- mysqldump 5.7.17 is ok
103
+ -- lets skip this test an implement it in some near future
104
+ -- https://bugs.mysql.com/bug.php?id=80150
105
+ INSERT INTO `test029` VALUES (2,0x99AAFF);
106
+
107
+ DROP TABLE IF EXISTS `test033`;
108
+ CREATE TABLE `test033` (
109
+ `id` int,
110
+ `col` text NOT NULL
111
+ );
112
+ INSERT INTO `test033` VALUES (1,'test test test');
113
+
114
+
115
+ DROP VIEW IF EXISTS `test100`;
116
+ CREATE ALGORITHM=UNDEFINED DEFINER=`travis`@`localhost` SQL SECURITY DEFINER VIEW `test100` AS select `test000`.`id` AS `id`,`test000`.`col01` AS `col01`,`test000`.`col02` AS `col02`,`test000`.`col03` AS `col03`,`test000`.`col10` AS `col10`,`test000`.`col11` AS `col11`,`test000`.`col15` AS `col15`,`test000`.`col27` AS `col27` from `test000`;
117
+
118
+ DROP VIEW IF EXISTS `test127`;
119
+ CREATE ALGORITHM=UNDEFINED DEFINER=`travis`@`localhost` SQL SECURITY DEFINER VIEW `test127` AS select `test027`.`id` AS `id`,`test027`.`col` AS `col` from `test027`;
120
+
121
+
122
+ DROP TABLE IF EXISTS `test200`;
123
+ CREATE TABLE `test200` (
124
+ `id` int,
125
+ `col` tinyint(4) DEFAULT NULL
126
+ );
127
+
128
+ CREATE TRIGGER before_test200_insert
129
+ BEFORE insert ON `test200`
130
+ FOR EACH ROW set NEW.col = NEW.col + 1;
131
+
132
+ -- INSERT INTO `test200` VALUES (1,1); -- trigger tests
133
+
134
+ /*!50003 DROP PROCEDURE IF EXISTS `GetAllFromTest000` */;
135
+ DELIMITER //
136
+ CREATE PROCEDURE GetAllFromTest000()
137
+ BEGIN
138
+ SELECT * FROM test000;
139
+ END //
140
+ DELIMITER ;
vendor/ifsnop/mysqldump-php/tests/test002.src.sql ADDED
@@ -0,0 +1,14 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DROP DATABASE IF EXISTS `test002`;
2
+ CREATE DATABASE `test002`;
3
+ USE `test002`;
4
+
5
+ DROP TABLE IF EXISTS `test201`;
6
+ CREATE TABLE `test201` (
7
+ `col` text COLLATE utf8mb4_unicode_ci
8
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
9
+
10
+ INSERT INTO `test201` (`col`) VALUES ('áéíóú');
11
+ INSERT INTO `test201` (`col`) VALUES ('🎲');
12
+ INSERT INTO `test201` (`col`) VALUES ('🎭');
13
+ INSERT INTO `test201` (`col`) VALUES ('💩');
14
+ INSERT INTO `test201` (`col`) VALUES ('🐈');
vendor/ifsnop/mysqldump-php/tests/test005.src.sql ADDED
@@ -0,0 +1,12 @@
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DROP DATABASE IF EXISTS `test005`;
2
+ CREATE DATABASE `test005`;
3
+ USE `test005`;
4
+
5
+ SET TIME_ZONE='+07:00';
6
+ DROP TABLE IF EXISTS `test000`;
7
+ CREATE TABLE `test000`(
8
+ `id` int,
9
+ `col` TIMESTAMP NOT NULL
10
+ );
11
+ INSERT INTO `test000` VALUES (1,'2014-01-01 00:00:00');
12
+ SET TIME_ZONE='+00:00';
vendor/ifsnop/mysqldump-php/tests/test006.src.sql ADDED
@@ -0,0 +1,107 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ -- phpMyAdmin SQL Dump
2
+ -- version 4.4.0
3
+ -- http://www.phpmyadmin.net
4
+ --
5
+ -- Servidor: localhost
6
+ -- Tiempo de generación: 31-08-2015 a las 19:26:58
7
+ -- Versión del servidor: 5.5.42
8
+ -- Versión de PHP: 5.6.7
9
+
10
+ DROP DATABASE IF EXISTS `test006a`;
11
+ CREATE DATABASE `test006a`;
12
+
13
+ DROP DATABASE IF EXISTS `test006b`;
14
+ CREATE DATABASE `test006b`;
15
+
16
+ USE `test006a`;
17
+
18
+ SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
19
+ SET time_zone = "+00:00";
20
+
21
+
22
+ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
23
+ /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
24
+ /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
25
+ /*!40101 SET NAMES utf8 */;
26
+
27
+ --
28
+ -- Base de datos: `my_test_db`
29
+ --
30
+
31
+ -- --------------------------------------------------------
32
+
33
+ --
34
+ -- Estructura de tabla para la tabla `my_table`
35
+ --
36
+
37
+ CREATE TABLE IF NOT EXISTS `my_table` (
38
+ `id` int(11) NOT NULL,
39
+ `name` varchar(300) DEFAULT NULL,
40
+ `lastname` varchar(300) DEFAULT NULL,
41
+ `username` varchar(300) DEFAULT NULL
42
+ ) ENGINE=InnoDB DEFAULT CHARSET=latin1;
43
+
44
+ -- --------------------------------------------------------
45
+
46
+ --
47
+ -- Estructura Stand-in para la vista `my_view`
48
+ --
49
+ CREATE TABLE IF NOT EXISTS `my_view` (
50
+ `id` int(11)
51
+ ,`name` varchar(300)
52
+ ,`lastname` varchar(300)
53
+ ,`username` varchar(300)
54
+ );
55
+
56
+ -- --------------------------------------------------------
57
+
58
+ --
59
+ -- Estructura Stand-in para la vista `view_of_my_table`
60
+ --
61
+ CREATE TABLE IF NOT EXISTS `view_of_my_table` (
62
+ `id` int(11)
63
+ ,`name` varchar(300)
64
+ ,`lastname` varchar(300)
65
+ ,`username` varchar(300)
66
+ );
67
+
68
+ -- --------------------------------------------------------
69
+
70
+ --
71
+ -- Estructura para la vista `my_view`
72
+ --
73
+ DROP TABLE IF EXISTS `my_view`;
74
+
75
+ CREATE ALGORITHM=UNDEFINED DEFINER=`travis`@`localhost` SQL SECURITY DEFINER VIEW `my_view` AS select `view_of_my_table`.`id` AS `id`,`view_of_my_table`.`name` AS `name`,`view_of_my_table`.`lastname` AS `lastname`,`view_of_my_table`.`username` AS `username` from `view_of_my_table`;
76
+
77
+ -- --------------------------------------------------------
78
+
79
+ --
80
+ -- Estructura para la vista `view_of_my_table`
81
+ --
82
+ DROP TABLE IF EXISTS `view_of_my_table`;
83
+
84
+ CREATE ALGORITHM=UNDEFINED DEFINER=`travis`@`localhost` SQL SECURITY DEFINER VIEW `view_of_my_table` AS select `my_table`.`id` AS `id`,`my_table`.`name` AS `name`,`my_table`.`lastname` AS `lastname`,`my_table`.`username` AS `username` from `my_table`;
85
+
86
+ --
87
+ -- Índices para tablas volcadas
88
+ --
89
+
90
+ --
91
+ -- Indices de la tabla `my_table`
92
+ --
93
+ ALTER TABLE `my_table`
94
+ ADD PRIMARY KEY (`id`);
95
+
96
+ --
97
+ -- AUTO_INCREMENT de las tablas volcadas
98
+ --
99
+
100
+ --
101
+ -- AUTO_INCREMENT de la tabla `my_table`
102
+ --
103
+ ALTER TABLE `my_table`
104
+ MODIFY `id` int(11) NOT NULL AUTO_INCREMENT;
105
+ /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
106
+ /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
107
+ /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
vendor/ifsnop/mysqldump-php/tests/test008.src.sql ADDED
@@ -0,0 +1,80 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DROP DATABASE IF EXISTS `test008`;
2
+ CREATE DATABASE `test008`;
3
+ USE `test008`;
4
+
5
+ -- MySQL dump 10.13 Distrib 5.5.43, for debian-linux-gnu (x86_64)
6
+ --
7
+ -- Host: 192.168.0.34 Database: test007
8
+ -- ------------------------------------------------------
9
+ -- Server version 5.5.43-0+deb7u1-log
10
+
11
+ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
12
+ /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
13
+ /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
14
+ /*!40101 SET NAMES utf8 */;
15
+ /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
16
+ /*!40103 SET TIME_ZONE='+00:00' */;
17
+ /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
18
+ /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
19
+ /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
20
+ /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
21
+
22
+ --
23
+ -- Table structure for table `fields`
24
+ --
25
+
26
+ DROP TABLE IF EXISTS `fields`;
27
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
28
+ /*!40101 SET character_set_client = utf8 */;
29
+ CREATE TABLE `fields` (
30
+ `id` int(11) NOT NULL,
31
+ `name` varchar(128) NOT NULL,
32
+ `form_id` int(11) NOT NULL,
33
+ PRIMARY KEY (`id`),
34
+ KEY `form_id` (`form_id`),
35
+ CONSTRAINT `fields to forms` FOREIGN KEY (`form_id`) REFERENCES `forms` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
36
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
37
+ /*!40101 SET character_set_client = @saved_cs_client */;
38
+
39
+ --
40
+ -- Dumping data for table `fields`
41
+ --
42
+
43
+ LOCK TABLES `fields` WRITE;
44
+ /*!40000 ALTER TABLE `fields` DISABLE KEYS */;
45
+ /*!40000 ALTER TABLE `fields` ENABLE KEYS */;
46
+ UNLOCK TABLES;
47
+
48
+ --
49
+ -- Table structure for table `forms`
50
+ --
51
+
52
+ DROP TABLE IF EXISTS `forms`;
53
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
54
+ /*!40101 SET character_set_client = utf8 */;
55
+ CREATE TABLE `forms` (
56
+ `id` int(11) NOT NULL,
57
+ `name` varchar(128) NOT NULL,
58
+ PRIMARY KEY (`id`)
59
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8;
60
+ /*!40101 SET character_set_client = @saved_cs_client */;
61
+
62
+ --
63
+ -- Dumping data for table `forms`
64
+ --
65
+
66
+ LOCK TABLES `forms` WRITE;
67
+ /*!40000 ALTER TABLE `forms` DISABLE KEYS */;
68
+ /*!40000 ALTER TABLE `forms` ENABLE KEYS */;
69
+ UNLOCK TABLES;
70
+ /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
71
+
72
+ /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
73
+ /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
74
+ /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
75
+ /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
76
+ /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
77
+ /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
78
+ /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
79
+
80
+ -- Dump completed on 2016-12-27 22:39:51
vendor/ifsnop/mysqldump-php/tests/test009.src.sql ADDED
@@ -0,0 +1,57 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DROP DATABASE IF EXISTS `test009`;
2
+ CREATE DATABASE `test009`;
3
+ USE `test009`;
4
+
5
+ -- MySQL dump 10.15 Distrib 10.0.28-MariaDB, for debian-linux-gnu (x86_64)
6
+ --
7
+ -- Host: localhost Database: localhost
8
+ -- ------------------------------------------------------
9
+ -- Server version 10.0.28-MariaDB-0ubuntu0.16.04.1
10
+
11
+ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
12
+ /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
13
+ /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
14
+ /*!40101 SET NAMES utf8 */;
15
+ /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
16
+ /*!40103 SET TIME_ZONE='+00:00' */;
17
+ /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
18
+ /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
19
+ /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
20
+ /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
21
+
22
+ --
23
+ -- Table structure for table `increments`
24
+ --
25
+
26
+ DROP TABLE IF EXISTS `increments`;
27
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
28
+ /*!40101 SET character_set_client = utf8 */;
29
+ CREATE TABLE `increments` (
30
+ `id` int(11) NOT NULL AUTO_INCREMENT,
31
+ PRIMARY KEY (`id`)
32
+ ) ENGINE=InnoDB AUTO_INCREMENT=9 DEFAULT CHARSET=utf8;
33
+ /*!40101 SET character_set_client = @saved_cs_client */;
34
+
35
+ --
36
+ -- Dumping data for table `increments`
37
+ --
38
+
39
+ LOCK TABLES `increments` WRITE;
40
+ /*!40000 ALTER TABLE `increments` DISABLE KEYS */;
41
+ INSERT INTO `increments` VALUES (1);
42
+ INSERT INTO `increments` VALUES (2);
43
+ INSERT INTO `increments` VALUES (3);
44
+ INSERT INTO `increments` VALUES (4);
45
+ /*!40000 ALTER TABLE `increments` ENABLE KEYS */;
46
+ UNLOCK TABLES;
47
+ /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
48
+
49
+ /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
50
+ /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
51
+ /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
52
+ /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
53
+ /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
54
+ /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
55
+ /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
56
+
57
+ -- Dump completed on 2017-03-02 13:23:17
vendor/ifsnop/mysqldump-php/tests/test010.src.sql ADDED
@@ -0,0 +1,56 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DROP DATABASE IF EXISTS `test010`;
2
+ CREATE DATABASE `test010`;
3
+ USE `test010`;
4
+
5
+ -- MySQL dump 10.13 Distrib 5.7.17, for Linux (x86_64)
6
+ --
7
+ -- Host: localhost Database: test010
8
+ -- ------------------------------------------------------
9
+ -- Server version 5.7.17
10
+
11
+ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
12
+ /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
13
+ /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
14
+ /*!40101 SET NAMES utf8 */;
15
+ /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
16
+ /*!40103 SET TIME_ZONE='+00:00' */;
17
+ /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
18
+ /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
19
+ /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
20
+ /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
21
+
22
+ --
23
+ -- Dumping events for database 'test010'
24
+ --
25
+ /*!50106 SET @save_time_zone= @@TIME_ZONE */ ;
26
+ /*!50106 DROP EVENT IF EXISTS `e_test010` */;
27
+ DELIMITER ;;
28
+ /*!50003 SET @saved_cs_client = @@character_set_client */ ;;
29
+ /*!50003 SET @saved_cs_results = @@character_set_results */ ;;
30
+ /*!50003 SET @saved_col_connection = @@collation_connection */ ;;
31
+ /*!50003 SET character_set_client = utf8 */ ;;
32
+ /*!50003 SET character_set_results = utf8 */ ;;
33
+ /*!50003 SET collation_connection = utf8_general_ci */ ;;
34
+ /*!50003 SET @saved_sql_mode = @@sql_mode */ ;;
35
+ /*!50003 SET sql_mode = 'ONLY_FULL_GROUP_BY,STRICT_TRANS_TABLES,NO_ZERO_IN_DATE,NO_ZERO_DATE,ERROR_FOR_DIVISION_BY_ZERO,NO_AUTO_CREATE_USER,NO_ENGINE_SUBSTITUTION' */ ;;
36
+ /*!50003 SET @saved_time_zone = @@time_zone */ ;;
37
+ /*!50003 SET time_zone = 'SYSTEM' */ ;;
38
+ /*!50106 CREATE*/ /*!50117 DEFINER=`travis`@`%`*/ /*!50106 EVENT `e_test010` ON SCHEDULE AT '2030-01-01 23:59:00' ON COMPLETION NOT PRESERVE ENABLE DO INSERT INTO test010.test VALUES (NOW()) */ ;;
39
+ /*!50003 SET time_zone = @saved_time_zone */ ;;
40
+ /*!50003 SET sql_mode = @saved_sql_mode */ ;;
41
+ /*!50003 SET character_set_client = @saved_cs_client */ ;;
42
+ /*!50003 SET character_set_results = @saved_cs_results */ ;;
43
+ /*!50003 SET collation_connection = @saved_col_connection */ ;;
44
+ DELIMITER ;
45
+ /*!50106 SET TIME_ZONE= @save_time_zone */ ;
46
+ /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
47
+
48
+ /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
49
+ /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
50
+ /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
51
+ /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
52
+ /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
53
+ /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
54
+ /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
55
+
56
+ -- Dump completed on 2017-03-20 21:52:21
vendor/ifsnop/mysqldump-php/tests/test011.src.sql ADDED
@@ -0,0 +1,53 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DROP DATABASE IF EXISTS `test011`;
2
+ CREATE DATABASE `test011`;
3
+ USE `test011`;
4
+
5
+ -- MySQL dump 10.13 Distrib 5.7.15, for Linux (x86_64)
6
+ --
7
+ -- Host: localhost Database: test
8
+ -- ------------------------------------------------------
9
+ -- Server version 5.7.15
10
+
11
+ /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
12
+ /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
13
+ /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
14
+ /*!40101 SET NAMES utf8 */;
15
+ /*!40103 SET @OLD_TIME_ZONE=@@TIME_ZONE */;
16
+ /*!40103 SET TIME_ZONE='+00:00' */;
17
+ /*!40014 SET @OLD_UNIQUE_CHECKS=@@UNIQUE_CHECKS, UNIQUE_CHECKS=0 */;
18
+ /*!40014 SET @OLD_FOREIGN_KEY_CHECKS=@@FOREIGN_KEY_CHECKS, FOREIGN_KEY_CHECKS=0 */;
19
+ /*!40101 SET @OLD_SQL_MODE=@@SQL_MODE, SQL_MODE='NO_AUTO_VALUE_ON_ZERO' */;
20
+ /*!40111 SET @OLD_SQL_NOTES=@@SQL_NOTES, SQL_NOTES=0 */;
21
+
22
+ --
23
+ -- Table structure for table `test011`
24
+ --
25
+
26
+ DROP TABLE IF EXISTS `test011`;
27
+ /*!40101 SET @saved_cs_client = @@character_set_client */;
28
+ /*!40101 SET character_set_client = utf8 */;
29
+ CREATE TABLE `test011` (
30
+ `id` int(11) NOT NULL,
31
+ `hash_stored` char(32) CHARACTER SET ascii COLLATE ascii_bin GENERATED ALWAYS AS (md5(`id`)) STORED NOT NULL,
32
+ `hash_virtual` char(32) CHARACTER SET ascii COLLATE ascii_bin GENERATED ALWAYS AS (md5(`id`)) VIRTUAL NOT NULL
33
+ ) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC;
34
+ /*!40101 SET character_set_client = @saved_cs_client */;
35
+
36
+ --
37
+ -- Dumping data for table `test011`
38
+ --
39
+
40
+ LOCK TABLES `test011` WRITE;
41
+ /*!40000 ALTER TABLE `test011` DISABLE KEYS */;
42
+ INSERT INTO `test011` (`id`) VALUES (159413),(294775);
43
+ /*!40000 ALTER TABLE `test011` ENABLE KEYS */;
44
+ UNLOCK TABLES;
45
+ /*!40103 SET TIME_ZONE=@OLD_TIME_ZONE */;
46
+
47
+ /*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
48
+ /*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
49
+ /*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
50
+ /*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
51
+ /*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
52
+ /*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
53
+ /*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
vendor/ifsnop/mysqldump-php/tests/test012.src.sql ADDED
@@ -0,0 +1,32 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ DROP DATABASE IF EXISTS `test012`;
2
+ CREATE DATABASE `test012`;
3
+ USE `test012`;
4
+
5
+ DROP TABLE IF EXISTS test;
6
+ CREATE TABLE test
7
+ (
8
+ col INT
9
+ );
10
+
11
+
12
+ DROP VIEW IF EXISTS `test012_view`;
13
+ CREATE VIEW `test012_view` AS SELECT 1 as `a VIEW a`;
14
+
15
+ CREATE TRIGGER `test012_trigger`
16
+ BEFORE insert ON `test`
17
+ FOR EACH ROW set NEW.col = NEW.col + 1;
18
+
19
+ DELIMITER ;;
20
+ CREATE FUNCTION `test012_function`(i INT) RETURNS INT
21
+ DETERMINISTIC
22
+ BEGIN
23
+ RETURN (i);
24
+ END ;;
25
+ DELIMITER ;
26
+
27
+ DELIMITER ;;
28
+ CREATE PROCEDURE test012_procedure()
29
+ BEGIN
30
+ SELECT * FROM test012;
31
+ END ;;
32
+ DELIMITER ;