~drizzle-trunk/drizzle/development

« back to all changes in this revision

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

  • Committer: Brian Aker
  • Date: 2010-05-03 20:01:36 UTC
  • mfrom: (1516.1.2 staging)
  • Revision ID: brian@gaz-20100503200136-8cbqn0m5hztqb9h8
Merge Paul's latest PBXT (includes version 1.1)

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;
128
127
                                // This can only happen if the BLOB URL is actually larger than the BLOB itself.
129
 
                                blob = (char *) session->session_alloc(length);
 
128
                                blob = (char *) session_alloc(current_session, length);
130
129
                                memcpy(blob_rec+packlength, &blob, sizeof(char*));
131
130
                        }                       
132
131
                        memcpy(blob, blob_url_buffer, length);