Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » 607-Dev3 Errors (worked previously) [SOLVED]
Re: 607-Dev3 Errors (worked previously) [message #4319 is a reply to message #4309] Tue, 01 August 2006 09:30 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 14261
Registered: November 2005
Ultimate Member
Well, about "truncating" strings: My fault. Please change SqlLite3.cpp line 145 to

sqlite3_bind_text16(current_stmt,i,p,2*p.GetLength(),SQLITE_ TRANSIENT);

(2*p.GetLength() - Sqlite wants number of bytes, not number of characters here....)

As for insert error, I have not encountered it. However, please check if you delete .db file to delete .sql script files as well - otherwise U++

sch.ScriptChanged(SqlSchema::UPGRADE)

would think there are no changes to schema and would not recreate the database.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: SqlArray Insert
Next Topic: SqlArray row validation bug
Goto Forum:
  


Current Time: Mon Jun 23 10:06:05 CEST 2025

Total time taken to generate the page: 0.04579 seconds