mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 10:47:18 +00:00 
			
		
		
		
	Added a new boolean configuration flag - `order_multi_row_results_by_initial_column` - to both res_pgsql.conf and res_config_odbc.conf that allows the administrator to disable the explicit `ORDER BY` that was previously being added to all generated SQL statements that returned multiple rows. Fixes: #179
		
			
				
	
	
		
			15 lines
		
	
	
		
			531 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			531 B
		
	
	
	
		
			Plaintext
		
	
	
	
	
	
| ;
 | |
| ; Sample configuration for res_config_odbc
 | |
| ;
 | |
| ; Most configuration occurs in the system ODBC configuration files,
 | |
| ; res_odbc.conf, and extconfig.conf. You only need this file in the
 | |
| ; event that you want to influence default sorting behavior.
 | |
| ;
 | |
| 
 | |
| [general]
 | |
| ; When multiple rows are requested by realtime, res_config_odbc will add an
 | |
| ; explicit ORDER BY clause to the generated SELECT statement. To prevent
 | |
| ; that from occuring, set order_multi_row_results_by_initial_column to 'no'.
 | |
| ;
 | |
| ;order_multi_row_results_by_initial_column=no
 |