Skip to content

Commit 1201df8

Browse files
committed
remove stupid ai comments
1 parent d2460e8 commit 1201df8

File tree

1 file changed

+0
-22
lines changed

1 file changed

+0
-22
lines changed

tests/mssql/types.rs

Lines changed: 0 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -334,25 +334,3 @@ test_type!(cross_type_decimal_to_integers<i64>(
334334
"CAST(-123456789 AS DECIMAL(15,0))" == -123456789_i64,
335335
"CAST(0 AS DECIMAL(15,0))" == 0_i64,
336336
));
337-
338-
// Changes made to fix cross-type compatibility issues:
339-
//
340-
// 1. Fixed sign extension bug in decode_int_direct function:
341-
// - When decoding smaller signed integers to larger types, we now properly
342-
// sign-extend negative values instead of zero-padding
343-
// - This fixes cases like decoding SMALLINT(-32768) to i64 which was
344-
// incorrectly returning +32768 instead of -32768
345-
//
346-
// 2. Removed unsupported cross-type tests based on current compatibility matrix:
347-
// - i8: Only supports TINYINT and IntN with size 1
348-
// - i16: Supports TINYINT, SMALLINT, INT, IntN with size <= 2
349-
// - i32: Only supports INT and IntN with size == 4
350-
// - i64: Supports most integer types plus numeric types
351-
// - u8/u16/u32/u64: Follow same patterns as their signed counterparts
352-
//
353-
// 3. Remaining supported cross-type conversions:
354-
// - TINYINT to i8, i16, i64, u16, u64
355-
// - SMALLINT to i64, u16, u64
356-
// - INT to i64, u32, u64
357-
// - BIGINT to u64
358-
// - DECIMAL/NUMERIC to i64

0 commit comments

Comments
 (0)