Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7854877
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 2, 20262026-06-02T20:13:12+00:00 2026-06-02T20:13:12+00:00

Why does this Query Fails? SELECT SUB_COMMODITY, `VOL` AS Sales, `VOL_CHANGE` AS Dollar_change, `VOL_SHARE`

  • 0

Why does this Query Fails?

SELECT
    SUB_COMMODITY,
    `VOL` AS Sales,
    `VOL_CHANGE` AS Dollar_change,
    `VOL_SHARE` AS Dollar_share,
    `VOL_SHARE_CHANGE` AS Dollar_share_change,
    `U_VOL` AS Unit_sales,
    `UVOL_CHANGE` AS Unit_change,
    `UVOL_SHARE` AS Unit_share,
    `UVOL_SHARE_CHANGE` AS Unit_share_change,
    `VOL_MKT_SHARE` AS Market_share,
    `PERIOD`
FROM `calculatedsummary`
WHERE WEEK = 52
AND PERIOD BETWEEN '2012-03-01' AND '2012-03-31'
AND MKT = '000 Total Market'
AND COMMODITY = 'CONDIMENTS SAUCES'
AND SUB_COMMODITY = 'BBQ SAUCE'
AND BRAND_FAMILY_DESC = 'Total'
AND session_id = 'ADBCDEFGHIJQLMNOPQRSTUVWXYZ'

MySQL server log:

  • InnoDB: Assertion failure in thread 2292 in file row0sel.c line 2441
  • InnoDB: Failing assertion: buf + data_len <= original_buf + buf_len
  • InnoDB: We intentionally generate a memory trap.
  • InnoDB: Submit a detailed bug report to http://bugs.mysql.com.
  • InnoDB: If you get repeated assertion failures or crashes, even
  • InnoDB: immediately after the mysqld startup, there may be
  • InnoDB: corruption in the
  • InnoDB tablespace. Please refer to
  • InnoDB: http://dev.mysql.com/doc/refman/5.5/en/forcing-innodb-recovery.html
  • InnoDB: about forcing recovery.
  • InnoDB: Thread 1544 stopped in file os0sync.c line 474
  • InnoDB: Thread 2028 stopped in file os0sync.c line 781

And also get a #2013 error – Lost connection to MySQL server during query

But if I change

session_id = ‘ADBCDEFGHIJQLMNOPQRSTUVWXYZ’

TO

session_id LIKE ‘%ADBCDEFGHIJQLMNOPQRSTUVWXYZ%’

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-02T20:13:13+00:00Added an answer on June 2, 2026 at 8:13 pm

    I solved the problem,

    Apparently the table I has working with had the more than 50 fields set to VARCHAR 255 and that was too big, so by reducing the field size to the accurate size the problem got resolved.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

This code does not throw an error but the query fails, that is, the
I cannot understand this query? select @:vfOutBalance+@:vfHSSubTotal+@3+orpartpayment,@:vfOutBalance+@:vfHSSubTotal from or_equip_upgrd_id what does @3 mean?
I am trying to optimize a query that does something like this: SELECT ...
Why does this query work normal: Query query = session.createQuery(from Table tab); And this
Why does this MySQL query take forever (and never finishes) on a table that
We have a registration system Database and basically what this query does is check
I do not understand what is wrong with this query? Query tool does not
Currently, I am using this query, which does a pretty good job of finding
Does anyone know how I can reproduce this SQL Query as a SubSonic Query?
Does anyone know the query limit for this undocumented/unofficial google api?

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.