mirror of
				https://github.com/postgres/postgres.git
				synced 2025-10-31 00:03:57 -04:00 
			
		
		
		
	fixed bug reported by Noel Rappin (nrappin@sockeye.com) java Array type handled Timestamps incorrectly
This commit is contained in:
		
							parent
							
								
									07cc12b833
								
							
						
					
					
						commit
						b48b4ab48e
					
				| @ -172,7 +172,7 @@ public class Array implements java.sql.Array | ||||
| 				retVal = new Timestamp[ count ]; | ||||
| 				StringBuffer sbuf = null; | ||||
| 				for ( ; count > 0; count-- ) | ||||
| 					((java.sql.Timestamp[])retVal)[i++] = ResultSet.toTimestamp( arrayContents[(int)index], rs ); | ||||
| 					((java.sql.Timestamp[])retVal)[i++] = ResultSet.toTimestamp( arrayContents[(int)index++], rs ); | ||||
| 				break; | ||||
| 
 | ||||
| 				// Other datatypes not currently supported.  If you are really using other types ask | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user