You are viewing a plain text version of this content. The canonical link for it is here.
Posted to sandesha-dev@ws.apache.org by ma...@apache.org on 2007/11/14 09:49:57 UTC

svn commit: r594799 - in /webservices/sandesha/trunk/c/src/storage: mysql/permanent_seq_property_mgr.c mysql/permanent_storage_mgr.c sqlite/permanent_seq_property_mgr.c

Author: manjula
Date: Wed Nov 14 00:49:57 2007
New Revision: 594799

URL: http://svn.apache.org/viewvc?rev=594799&view=rev
Log:
Increasing the buffer size of sql_retrieve, because previous buffer 
size is not enough when the endpoint address is long.

Modified:
    webservices/sandesha/trunk/c/src/storage/mysql/permanent_seq_property_mgr.c
    webservices/sandesha/trunk/c/src/storage/mysql/permanent_storage_mgr.c
    webservices/sandesha/trunk/c/src/storage/sqlite/permanent_seq_property_mgr.c

Modified: webservices/sandesha/trunk/c/src/storage/mysql/permanent_seq_property_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/mysql/permanent_seq_property_mgr.c?rev=594799&r1=594798&r2=594799&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/mysql/permanent_seq_property_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/mysql/permanent_seq_property_mgr.c Wed Nov 14 00:49:57 2007
@@ -264,7 +264,7 @@
 {
     axis2_char_t sql_insert[1024];
     axis2_char_t sql_update[1024];
-    axis2_char_t sql_retrieve[256];
+    axis2_char_t sql_retrieve[1024];
     axis2_bool_t ret = AXIS2_FALSE;
     sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
 
@@ -303,7 +303,7 @@
 {
     axis2_char_t *key = NULL;
     axis2_char_t sql_remove[256];
-    axis2_char_t sql_retrieve[256];
+    axis2_char_t sql_retrieve[1024];
     axis2_status_t status = AXIS2_FAILURE;
     sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
 
@@ -330,7 +330,7 @@
     axis2_char_t *name)
 {
     axis2_char_t *key = NULL;
-    axis2_char_t sql_retrieve[256];
+    axis2_char_t sql_retrieve[1024];
     sandesha2_seq_property_bean_t *ret = NULL;
     sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
 
@@ -356,7 +356,7 @@
     sandesha2_seq_property_bean_t *bean)
 {
     axis2_char_t sql_update[1024];
-    axis2_char_t sql_retrieve[256];
+    axis2_char_t sql_retrieve[1024];
     axis2_bool_t ret = AXIS2_FALSE;
     sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
 

Modified: webservices/sandesha/trunk/c/src/storage/mysql/permanent_storage_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/mysql/permanent_storage_mgr.c?rev=594799&r1=594798&r2=594799&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/mysql/permanent_storage_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/mysql/permanent_storage_mgr.c Wed Nov 14 00:49:57 2007
@@ -742,6 +742,7 @@
     
     /* setting the request message if this a response message.*/
     op_ctx = axis2_msg_ctx_get_op_ctx(msg_ctx, env);
+
     if(op_ctx)
     {
         axis2_msg_ctx_t *in_msg_ctx = NULL;

Modified: webservices/sandesha/trunk/c/src/storage/sqlite/permanent_seq_property_mgr.c
URL: http://svn.apache.org/viewvc/webservices/sandesha/trunk/c/src/storage/sqlite/permanent_seq_property_mgr.c?rev=594799&r1=594798&r2=594799&view=diff
==============================================================================
--- webservices/sandesha/trunk/c/src/storage/sqlite/permanent_seq_property_mgr.c (original)
+++ webservices/sandesha/trunk/c/src/storage/sqlite/permanent_seq_property_mgr.c Wed Nov 14 00:49:57 2007
@@ -260,7 +260,7 @@
 {
     axis2_char_t sql_insert[1024];
     axis2_char_t sql_update[1024];
-    axis2_char_t sql_retrieve[256];
+    axis2_char_t sql_retrieve[1024];
     axis2_bool_t ret = AXIS2_FALSE;
     sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
 
@@ -299,7 +299,7 @@
 {
     axis2_char_t *key = NULL;
     axis2_char_t sql_remove[256];
-    axis2_char_t sql_retrieve[256];
+    axis2_char_t sql_retrieve[1024];
     axis2_status_t status = AXIS2_FAILURE;
     sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
     AXIS2_LOG_DEBUG(env->log, AXIS2_LOG_SI,  
@@ -330,7 +330,7 @@
     axis2_char_t *name)
 {
     axis2_char_t *key = NULL;
-    axis2_char_t sql_retrieve[256];
+    axis2_char_t sql_retrieve[1024];
     sandesha2_seq_property_bean_t *ret = NULL;
     sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
 
@@ -360,7 +360,7 @@
     sandesha2_seq_property_bean_t *bean)
 {
     axis2_char_t sql_update[1024];
-    axis2_char_t sql_retrieve[256];
+    axis2_char_t sql_retrieve[1024];
     axis2_bool_t ret = AXIS2_FALSE;
     sandesha2_permanent_seq_property_mgr_t *seq_prop_mgr_impl = NULL;
 



---------------------------------------------------------------------
To unsubscribe, e-mail: sandesha-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: sandesha-dev-help@ws.apache.org