~stewart/drizzle/remove-unused-row-type-in-table-message

« back to all changes in this revision

Viewing changes to plugin/pbms/src/connection_handler_ms.cc

  • Committer: Stewart Smith
  • Date: 2010-07-20 16:35:49 UTC
  • mfrom: (1638.1.28 drizzle)
  • Revision ID: stewart@flamingspork.com-20100720163549-zgcsmroyt0njr92d
merge trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
242
242
* OR
243
243
 * Request URI: /<database>/<blob alias>
244
244
 */
245
 
void MSConnectionHandler::handleGet()
 
245
void MSConnectionHandler::handleGet(bool info_only)
246
246
{
247
247
        const char      *bad_url_comment = "Incorrect URL: ";
248
248
        MSOpenTable     *otab;
249
249
        CSString        *info_request;
250
250
        CSString        *ping_request;
251
 
        bool            info_only = false;
252
251
 
253
252
        enter_();
254
253
        self->myException.setErrorCode(0);
580
579
                }
581
580
                replyPending = true;
582
581
                if (strcmp(method, "GET") == 0)
583
 
                        handleGet();
 
582
                        handleGet(false);
584
583
                else if (strcmp(method, "PUT") == 0 ||
585
584
                        strcmp(method, "POST") == 0)
586
585
                        handlePut();
 
586
                else if (strcmp(method, "HEAD"))
 
587
                        handleGet(true);
587
588
                else
588
589
                        CSException::throwCoreError(CS_CONTEXT, CS_ERR_UNKNOWN_METHOD, method);
589
590
        }