Sean Bright 30aaeec5a1 
	
	
	res_config_sqlite3: Properly create missing columns when necessary ... 
			There were two specific issues resolved here:
1) The code that iterated over the required fields
   (via ast_realtime_require) was broken for the RQ_INTEGER1 field
   type. Iteration would stop when the first RQ_INTEGER1 (0) field
   was encountered.
2) sqlite3_changes() was used to try and count the number of rows
   returned by a SELECT statement. sqlite3_changes() only counts
   affected rows, so this was always returning the value from the
   most recent data modification statement. We now separate read-only
   queries from data modification queries and count rows appropriately
   in both cases.
ASTERISK-23457 #close
Reported by: Scott Griepentrog
Change-Id: I91ed20494efc3fcfbc2a96ac7646999a49814884 
		
	 
		2017-02-16 06:10:48 -06:00 
	 
	
	
	
		 
	
	
		
			
			
			
			
			
			2017-01-04 14:06:20 -06:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-04 14:06:20 -06:00 
		 
	
		
			
			
			
			
			
			2017-02-08 11:54:39 -06:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2017-01-26 17:06:40 -06:00 
		 
	
		
			
			
			
			
			
			2016-11-04 13:56:42 -05:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2017-02-02 13:02:03 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2016-11-29 13:35:26 -02:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-12-31 08:43:50 +01:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2017-02-10 18:04:41 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2017-02-16 06:10:48 -06:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-07-22 10:09:08 +02:00 
		 
	
		
			
			
			
			
			
			2016-12-08 11:47:30 +00:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-06-08 12:32:02 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-11-15 22:25:14 +02:00 
		 
	
		
			
			
			
			
			
			2016-12-08 18:34:28 +00:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2017-01-24 13:56:12 -06:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-08-21 18:56:01 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-02-16 16:42:26 -06:00 
		 
	
		
			
			
			
			
			
			2017-01-04 14:06:20 -06:00 
		 
	
		
			
			
			
			
			
			2016-11-15 22:25:14 +02:00 
		 
	
		
	
		
			
			
			
			
			
			2017-01-24 11:25:19 -06:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2016-05-09 14:17:43 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 08:30:36 -05:00 
		 
	
		
			
			
			
			
			
			2017-01-04 14:06:20 -06:00 
		 
	
		
			
			
			
			
			
			2016-05-18 18:37:27 -05:00 
		 
	
		
			
			
			
			
			
			2016-12-31 20:00:46 -06:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-05-19 09:08:37 -03:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-04-27 10:58:43 -05:00 
		 
	
		
			
			
			
			
			
			2017-01-26 10:59:10 -06:00 
		 
	
		
			
			
			
			
			
			2016-09-09 17:13:02 -05:00 
		 
	
		
			
			
			
			
			
			2016-07-06 10:30:27 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-05-27 12:43:54 -05:00 
		 
	
		
			
			
			
			
			
			2017-01-27 15:10:02 -06:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-09-14 12:27:28 -05:00 
		 
	
		
			
			
			
			
			
			2016-05-30 19:31:26 -05:00 
		 
	
		
			
			
			
			
			
			2017-02-06 11:02:35 -06:00 
		 
	
		
			
			
			
			
			
			2016-02-08 19:11:18 -06:00 
		 
	
		
			
			
			
			
			
			2016-03-07 13:16:41 -06:00 
		 
	
		
			
			
			
			
			
			2016-05-19 09:08:37 -03:00 
		 
	
		
			
			
			
			
			
			2017-01-20 07:22:13 -06:00 
		 
	
		
			
			
			
			
			
			2016-10-28 14:30:02 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-12-02 11:56:59 -06:00 
		 
	
		
			
			
			
			
			
			2016-09-09 17:13:02 -05:00 
		 
	
		
	
		
	
		
	
		
	
		
			
			
			
			
			
			2016-08-15 13:35:59 -05:00 
		 
	
		
			
			
			
			
			
			2017-01-23 18:07:04 -06:00 
		 
	
		
			
			
			
			
			
			2016-03-30 13:23:54 -05:00 
		 
	
		
			
			
			
			
			
			2017-01-09 07:23:17 -06:00 
		 
	
		
			
			
			
			
			
			2016-11-10 16:59:41 -05:00 
		 
	
		
			
			
			
			
			
			2017-02-08 11:54:39 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2017-02-13 07:49:25 -07:00 
		 
	
		
			
			
			
			
			
			2016-03-03 05:32:59 -06:00 
		 
	
		
			
			
			
			
			
			2017-01-04 14:11:30 +01:00 
		 
	
		
	
		
	
		
			
			
			
			
			
			2016-11-30 14:18:05 -05:00 
		 
	
		
			
			
			
			
			
			2016-09-14 09:53:33 -05:00 
		 
	
		
			
			
			
			
			
			2016-11-28 14:37:50 -05:00 
		 
	
		
	
		
			
			
			
			
			
			2017-02-12 15:34:51 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2017-02-01 17:33:41 -06:00 
		 
	
		
			
			
			
			
			
			2017-02-15 12:14:05 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-05-27 11:00:09 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2017-02-13 11:33:15 -05:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2017-02-07 10:56:34 -06:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2017-01-23 10:25:58 -07:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-02-16 12:26:29 -06:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-10-27 09:53:55 -04:00 
		 
	
		
	
		
			
			
			
			
			
			2016-09-25 13:40:23 -05:00