~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/pbxt/src/pbms_enabled.cc

  • Committer: mordred
  • Date: 2010-04-20 00:04:22 UTC
  • mfrom: (1491 bad-staging)
  • mto: This revision was merged to the branch mainline in revision 1498.
  • Revision ID: mordred@orisndriz09-20100420000422-if6mil1596804mrj
Merged up with build.

Show diffs side-by-side

added added

removed removed

Lines of Context:
124
124
                        }
125
125
                        
126
126
                        if (length > org_length) {
 
127
                                Session *tmp_session= current_session;
127
128
                                // This can only happen if the BLOB URL is actually larger than the BLOB itself.
128
 
                                blob = (char *) session_alloc(current_session, length);
 
129
                                blob = (char *) session->session_alloc(length);
129
130
                                memcpy(blob_rec+packlength, &blob, sizeof(char*));
130
131
                        }                       
131
132
                        memcpy(blob, blob_url_buffer, length);