Conversation
Co-authored-by: contact <contact@ophir.dev>
|
Cursor Agent can help with this pull request. Just |
|
@cursoragent you broke the linux version that used to work the code needs to work on BOTH linux and windows |
|
🔄 Received a new followup. Follow along in the new message. ⌛ Working on 3 tasks
|
|
@cursoragent Struct ColumnDescription pub struct ColumnDescription { Describes the type and attributes of a column. Column name. May be empty if unavailable. Type of the column Indicates whether the column is nullable or not. #[cfg(not(any(feature = "wide", all(not(feature = "narrow"), target_os = "windows"))))]
pub type SqlChar = u8;
#[cfg(any(feature = "wide", all(not(feature = "narrow"), target_os = "windows")))]
pub type SqlChar = u16; |
Co-authored-by: contact <contact@ophir.dev>
Learn more about Cursor Agents |
|
@cursoragent You duplicated code between sqlx-core/src/odbc/connection/mod.rs and sqlx-core/src/odbc/connection/odbc_bridge.rs Remove code duplication |
|
🔄 Received a new followup. Follow along in the new message. ⌛ Working on 3 tasks
|
|
@cursoragent and add a very basic ci test that build the library on windows. Very minimal, few lines of code, reuse the existing ci workflow as much as possible |
Co-authored-by: contact <contact@ophir.dev>
|
I enhanced the CI pipeline by implementing a new job to validate
2 tasks completed
Learn more about Cursor Agents |
Co-authored-by: contact <contact@ophir.dev>
Co-authored-by: contact <contact@ophir.dev>
…nd removing the Windows build job
|
failures: ---- sqlite::testing::test_convert_path stdout ---- thread 'sqlite::testing::test_convert_path' panicked at sqlx-core\src\sqlite\testing\mod.rs:80:5: failures: test result: FAILED. 225 passed; 1 failed; 0 ignored; 0 measured; 0 filtered out; finished in 0.03s error: test failed, to rerun pass |
|
I modified the
Learn more about Cursor Agents |
Co-authored-by: contact <contact@ophir.dev>
Update
decode_column_nameto acceptVec<u16>and decode usingString::from_utf16to resolve a type mismatch.