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 7595781
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T21:45:25+00:00 2026-05-30T21:45:25+00:00

Enviroment: Cocoa on mac os x Snow Leopard I have reached the maximum (default)

  • 0

Enviroment: Cocoa on mac os x Snow Leopard

I have reached the maximum (default) depth for a sqlite query:

Expression tree is too large (maximum depth 1000)

the sqlite documentation say to set the SQLITE_MAX_EXPR_DEPTH at compilation, but HOW? i use the default sqlite3 framework, imported with:

#import <sqlite3.h>

note: i think the maximum expression depth can be lowered (NOT increased) at run-time with:

sqlite3_limit(db,SQLITE_LIMIT_EXPR_DEPTH,size)

it’s right?

  • 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-05-30T21:45:26+00:00Added an answer on May 30, 2026 at 9:45 pm

    You’re right about all of your assertions (it’s a compile-time setting, it can be lowered not raised at runtime). Your options are to restrict your query or link a custom build of SQLite with your production app.

    The good thing about SQLite is that it’s pretty simple to build. Read about custom builds. Also, Apple’s SQLite XCode project for OS X 10.6.8 is here. Whether you use Apple’s project or make your own, it’s easy to create a shared library to static link into your executable to ship with your project. You will have to worry about compatibility as you release your code, but that’s the price you pay for complex queries.

    You could also ask about simplifying your complex query in another question.

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

Sidebar

Related Questions

I'm running Mac OS X Snow Leopard and wan't to access the Display from
I have downloaded eclipse classic x86_64 3.7 cocoa on my Mac Intel Core 2
I think I may have accidently disabled stylecop in my Visual Studio 2008 enviroment.
In a heavy enviroment application, we have Users, Locations, bla bla bla... and we
In a MySQL master-slave replication enviroment if I have 4 slave servers how can
I have some tables in Oracle enviroment which I have found could benefit from
Hi I have an application that works fine in my dev enviroment, but throws
Environment: xcode 3.2.1, document-based core-data application. I have a document-based cocoa app which uses
I have the following code. In my dev enviroment I am not getting any
I have an XCode project built as a Cocoa single document application (it's not

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.