Error Writing Data To The Connection Firebird
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have
Error Reading Data From The Connection Firebird
Meta Discuss the workings and policies of this site About Us Learn error writing data to the connection delphi more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 4.7 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Firebird 2.5 Events “error writing data to the connection” up vote 1 down vote favorite I am using the latest Firebird 2.5.3 on OSX10.10 using the C api, and have an issued I've narrowed specifically to events. I get "error writing data to the connection" with ~1:5 probability of happening on an event that is run from a database trigger using: POST_EVENT 'xxx'; where 'xxx' is the Event_Callback Is this an issue others are seeing? I'm having a hard time tracking much info down using google, as most references are for earlier versions of Firebird, or for supposedly 'fixed' bugs. edit - additional info obviously, some of the details have been The trigger is created with something akin to: "CREATE TRIGGER \"%s\" FOR \"%s\" \ AFTER %s \ AS \ BEGIN \ if( new.id = %d ) THEN \ BEGIN \ INSERT INTO \"Event_Log\" (\"ID\",\"triggerName\", \"lastModified\") VALUES (GEN_ID(\"seq_Event_Table\",1)'%s', (select current_timestamp from rdb$database) ); \ POST_EVENT '%s'; \ END \ END;" Events are initialized with code that executes: isc_que_events(status, &database, &eventData->id, eventData->length, eventData->buffer, (isc_callback)EventCallback, eventData->resultBuffer); And finally the event is structured: isc_callback EventCallback( char *result, short length, char *updated ) { uint64_t startTime; startTime = mach_absolute_time(); printf("__EVENT__:%s:%s:%llu\n",eventData->buffer,eventData->resultBuffer,startTime); while (length--) { *result++ = *updated++; } isc_event_counts(status, eventData->length, eventData->buffer, eventData->resultBuffer); isc_que_events(status, &database, &eventData->id, eventDat
* IB Server 6.01 running or server * IBX 4.51 When trying to open a TIBQuery I'm receiving the follow message: Unable to complete network request to host "MyHost" Error writing data to the connection http://stackoverflow.com/questions/28882366/firebird-2-5-events-error-writing-data-to-the-connection unknow Win32 Error 10093 Notes: 1. I verified that my TIBDatabase is connected to the server before the error occurs 2. Everything works fine using a local IB Server Any idea? TIA. Jackson Gomes http://www.delphigroups.info/2/38/339712.html Tools&Comps - Security Components for Delphi/C++Builder (BDE, ADOExpress, Interbase Express and ASTA) e-mail: i...@toolsandcomps.com Web Site: http://www.toolsandcomps.com Phone: 55 27 99602760/55 27 2994035 Other Threads 1. Error writing data to the connection 2. Error writing data to the connection. 3. WinNT- Error writing data to the connection 4. Error writing data to the connection 5. Problem with Interbase: Error 10054 - could not write data to the connection 6. IB Error : Error reading data from connection 7. Error reading/writing to connection 8. firebird : error reading data from the connection 9. firebird : error reading data from connection 10. ebdeengineerror: error reading data from the connection
instructions: Windows Mac Red Hat Linux Ubuntu Click URL instructions: Right-click on ad, choose "Copy Link", then paste here → (This may not be https://sourceforge.net/p/firebird/mailman/message/7127706/ possible with some types of ads) More information about our ad policies X You seem to have CSS turned off. Please don't fill out this field. You seem to have CSS turned off. Please don't fill out this field. Briefly describe the problem (required): Upload screenshot of ad (required): Select a file, or drag & drop the connection file here. ✔ ✘ Please provide the ad click URL, if possible: Home Browse Firebird Mailing Lists Firebird A powerful, cross platform, SQL database system Brought to you by: alexpeshkoff, asfernandes, awharrison, cincura_net, and 6 others Summary Files Reviews Support Wiki Mailing Lists News Code Cvs Git firebird-checkins firebird-devel firebird-docs firebird-net-provider firebird-odbc-devel firebird-oledb firebird-test firebird-website Re: [Firebird-odbc-devel] error writing data Error writing data to the connection with VFP8 Re: [Firebird-odbc-devel] Error writing data to the connection with VFP8 From: Vladimir Tsvigun