Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						09ad10a734 
					 
					
						
						
							
							ok, i am very sorry, but this needs to be fixed.  
						
						... 
						
						
						
						Generally, our config table is not really suited for holding large datasets. Because feed settings for the forums to enable news feeds and excluded forums rely on the forums itself we have decided to introduce a forum_options table where custom options can be stored.
Additionally, for this to work across all DBMS we support, we added a new method to the DBAL for the bitwise AND operator.
Also moved the forum/topic feed template variable to the location where they belong to (forum and topic view)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9965 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-08-12 15:00:47 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						93536d87c9 
					 
					
						
						
							
							forgot this in r9909  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9911 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-08-01 17:09:43 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						b7a0ef7e7a 
					 
					
						
						
							
							return errors if return_on_error is true for multi_insert (Patch by bantu)  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9909 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-08-01 16:08:05 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						55e15b4c8e 
					 
					
						
						
							
							Fix database updater and db tools to support multiple column changes/additions/removals with SQLite  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9735 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-07-08 13:52:18 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						e69fe56634 
					 
					
						
						
							
							- fix sql_column_exists for firebird (had same problem as oracle)  
						
						... 
						
						
						
						- fix sql_column_change for firebird (interbase6 only supports TYPE and SET DEFAULT, but not the same syntax ass ADD COLUMN)
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9586 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-06-13 16:04:54 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						d843dbd046 
					 
					
						
						
							
							Fix sql_column_exists for oracle (oracle uses uppercase table names)  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9583 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-06-13 14:48:45 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						dd80961b11 
					 
					
						
						
							
							due to popular demand... this may be quite useful for automatic installer and modifications  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9495 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-04-29 13:41:49 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						ab122983f7 
					 
					
						
						
							
							Fix column handling in db updater, custom profile fields an db tools for firebird DBMS (Bug  #44555 )  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9492 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-04-28 11:18:02 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						1fae177b9a 
					 
					
						
						
							
							Fix bug in postgresql db layer for LIMIT ALL clauses (reported by JRSweets)  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9412 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-03-30 10:44:18 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						272cde8251 
					 
					
						
						
							
							Set connection encoding for MySQL versions 4.1.0 to 4.1.2. This may fix some conversion issues with special characters. (Bug  #41805 )  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9378 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-03-16 17:08:28 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						63ed823137 
					 
					
						
						
							
							fix bug  #42635  (missed identity)  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9361 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-03-08 13:24:12 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						62973fa504 
					 
					
						
						
							
							- adjust db_tools again to not remove any schema (they may be required)  
						
						... 
						
						
						
						- fill dbms version if not yet filled
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9351 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-02-28 19:22:27 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						88a74afa58 
					 
					
						
						
							
							add more checks to schema changes  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9349 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-02-28 16:40:20 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						dd059c15b6 
					 
					
						
						
							
							add "drop table" and "create table" functionality to db_tools.  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9347 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2009-02-28 13:55:34 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						689831ecdd 
					 
					
						
						
							
							Re-arrange the re-order code to only run if multi-aliases are used  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9178 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-12-06 11:11:10 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						5c7dcec073 
					 
					
						
						
							
							Enforce a requirement for some DBMS (Oracle, PostgreSQL, MSSQL) where the table order is quite important in some situations. ;) Since this does not affect the operation of the other DBMS the code is placed into dbal.php.  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9175 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-12-05 11:18:59 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						2c1d80c75a 
					 
					
						
						
							
							Remove NUL-Bytes directly in request_var() for strings and within the custom DBAL sql_escape() functions (MSSQL, Firebird, Oracle) (reported by AdhostMikeSw)  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8967 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-10-02 12:04:12 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						20f9b87f04 
					 
					
						
						
							
							Fix sql_multi_insert() if called with non multi-dimensional array (Bug  #32975 )  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8900 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-09-19 17:12:04 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						eb2050a720 
					 
					
						
						
							
							Use correct port delimiter for MSSQL connections in windows. (Bug  #16615 )  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8866 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-09-17 15:11:57 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						7a11fdbb64 
					 
					
						
						
							
							direct calls  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8815 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-09-04 13:37:01 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						2fcd96ca72 
					 
					
						
						
							
							Ok, story real database server info, as well as caching it  
						
						... 
						
						
						
						Store it on installation too - allows us to check the db version used on installation and used currently to warn the user about incompatibilities
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8814 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-09-04 12:01:47 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Smith 
							
						 
					 
					
						
						
							
						
						e81eb70aed 
					 
					
						
						
							
							Refine fix for  #31445  originally committed in r8758  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8809 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-09-02 13:27:37 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						4d7b9b76fa 
					 
					
						
						
							
							some changes for proper code documentation  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8783 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-08-23 17:23:40 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						6c763cd8b6 
					 
					
						
						
							
							change the way we do chmodd'ing. I know, my implementation really sucked... good we have motivated community members who point this out. ;) Thanks to faw for providing a way better function and for discussing and also abiding to our needs. :) LEW21 should maybe credited too... he gave the inspiration without knowing it.  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8780 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-08-22 12:52:48 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						7e28be5968 
					 
					
						
						
							
							close db connection before delivering file. Also make sure connection can't be closed twice.  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8772 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-08-21 14:19:42 +00:00 
						 
				 
			
				
					
						
							
							
								Chris Smith 
							
						 
					 
					
						
						
							
						
						1990ee2d4c 
					 
					
						
						
							
							Correctly return results for nested cached queries (Bug  #31445  - Patch by faw)  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8758 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-08-14 18:38:41 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						cf3d5c3416 
					 
					
						
						
							
							force the use of sql_multi_insert() for multi inserts... also adjusted the coding guidelines accordingly.  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8693 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-07-28 13:29:46 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						181cbcd625 
					 
					
						
						
							
							#22365  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8419 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-02-28 19:54:18 +00:00 
						 
				 
			
				
					
						
							
							
								Henry Sudhof 
							
						 
					 
					
						
						
							
						
						752b452128 
					 
					
						
						
							
							DBAL extension motivated by  #22125  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8414 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-02-27 15:50:36 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						fb1c5e22f6 
					 
					
						
						
							
							#17025  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8346 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2008-01-29 15:00:41 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						718b3f9df6 
					 
					
						
						
							
							commit all transactions on closing the db (there is only one, but we support inner transactions - logically speaking)  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8271 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-12-06 12:27:53 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						8cf535f5cf 
					 
					
						
						
							
							- on database update, execute garbage_collection(). This ensures a proper closed db and written cache  
						
						... 
						
						
						
						- on sql errors returning (and not triggering an error) execute the rollback too
both "bugs" resulted in transactions left open if a query returned an error on database update preventing a clean update. Symptoms being for example oracle users not having all database info updated, the version number not changing or config variables not written.
git-svn-id: file:///svn/phpbb/trunk@8270 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-12-06 08:55:19 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						c698a2571a 
					 
					
						
						
							
							further updates  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8248 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-11-19 16:44:30 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						a4d0eba781 
					 
					
						
						
							
							hopefully fixing bug  #14890  - need to test later  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8247 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-11-19 13:33:29 +00:00 
						 
				 
			
				
					
						
							
							
								David M 
							
						 
					 
					
						
						
							
						
						aee82d3a30 
					 
					
						
						
							
							MSSQL works properly with SQL update related tools  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8198 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-10-16 14:59:39 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						6b334d8b7c 
					 
					
						
						
							
							small fix  
						
						... 
						
						
						
						- david: please review the mssql change
git-svn-id: file:///svn/phpbb/trunk@8165 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-10-12 10:04:44 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						7de5bb3498 
					 
					
						
						
							
							dumdidum... sorry. ;)  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8147 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-10-05 14:36:34 +00:00 
						 
				 
			
				
					
						
							
							
								David M 
							
						 
					 
					
						
						
							
						
						6ea4a146af 
					 
					
						
						
							
							misc SQLite bugs  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8101 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-09-22 21:58:04 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						685282c2cb 
					 
					
						
						
							
							- some language tweaks suggested by John  
						
						... 
						
						
						
						- some bug fixes
- finally adding db_tools...
git-svn-id: file:///svn/phpbb/trunk@8088 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-09-13 15:01:15 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						e503216834 
					 
					
						
						
							
							some tiny fixes...  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8087 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-09-12 15:32:11 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						1d004b925f 
					 
					
						
						
							
							necessary changes...  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8072 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-08-30 21:21:16 +00:00 
						 
				 
			
				
					
						
							
							
								David M 
							
						 
					 
					
						
						
							
						
						4d0b422884 
					 
					
						
						
							
							#14207  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8069 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-08-24 18:09:59 +00:00 
						 
				 
			
				
					
						
							
							
								David M 
							
						 
					 
					
						
						
							
						
						4c50481379 
					 
					
						
						
							
							#14211  
						
						... 
						
						
						
						- doing is_null on Oracle is not good, we return empty strings instead
git-svn-id: file:///svn/phpbb/trunk@8068 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-08-24 18:00:28 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						445a0631e5 
					 
					
						
						
							
							patch by david for  #14182  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8066 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-08-24 16:36:23 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						521dfdbb05 
					 
					
						
						
							
							increase the odbc limit (64k is too low, the theme data itself is >64k)  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8038 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-08-16 15:38:13 +00:00 
						 
				 
			
				
					
						
							
							
								David M 
							
						 
					 
					
						
						
							
						
						8ab583dce0 
					 
					
						
						
							
							turn on strict mode for databases that support it  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@8029 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-08-14 12:27:35 +00:00 
						 
				 
			
				
					
						
							
							
								David M 
							
						 
					 
					
						
						
							
						
						f684da8e93 
					 
					
						
						
							
							#13916  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@7995 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-08-02 05:05:44 +00:00 
						 
				 
			
				
					
						
							
							
								David M 
							
						 
					 
					
						
						
							
						
						35152dcd53 
					 
					
						
						
							
							#13874  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@7981 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-07-30 03:16:31 +00:00 
						 
				 
			
				
					
						
							
							
								Meik Sievertsen 
							
						 
					 
					
						
						
							
						
						306581d905 
					 
					
						
						
							
							this should work fine now...  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@7937 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-07-24 15:17:47 +00:00 
						 
				 
			
				
					
						
							
							
								David M 
							
						 
					 
					
						
						
							
						
						8f7a4d27c6 
					 
					
						
						
							
							#13151  
						
						... 
						
						
						
						git-svn-id: file:///svn/phpbb/trunk@7849 89ea8834-ac86-4346-8a33-228a782c2dd0 
						
						
					 
					
						2007-07-09 15:33:38 +00:00