반응형 전체 글130 [MySQL] UPDATE 쿼리 시 에러코드 1175 처리 MySQL에서 제공하는 워크벤치를 설치하여 이용하는 경우에 update 시 이런 에러가 날 수 있다. 저 로그를 해석해보면 UPDATE에 대해서 안전 모드로 되어 있기 때문에 발생한 문제라고 한다. 따라서 안전모드(SAFE MODE)를 꺼주면 된다. 제일 간단한 방법은 옵션을 바꿔주는 명령어 하나만 샐행하면 된다. SET SQL_SAFE_UPDATES = 0; 그러면 update 쿼리가 실행된다. 2024. 6. 19. [자료구조] Stack Stack Data StructureA stack is a linear data structure that follows the principle of Last In First Out (LIFO).This means the last element inserted inside the stack is removed first.You chan think of the stack data struccture as the pile of plates on top of another. Here, you can:Put a new plate on top.Remove the top plate.And, if you want the plate at the bottom, you must first remove all the p.. 2024. 6. 18. [js] forEach와 비동기 작업(Transaction API error: Transaction already closed: Could not perform operation 발생!) 외주 작업을 하던 도중에 Transaction API error: Transaction already closed: Could not perform operation 라는 에러를 만났다. 해당 코드는 다음과 같은데 await this.prisma.$transaction(async (tx) => { const maxCombineNum = await tx.order.aggregate({ ... }); //원하는 데이터에서 +1 let newCombineNum = maxCombineNum._max.combineNum + 1; //위에 newCombineNum.. 2024. 5. 31. [flutter] 앱 아이콘 변경 시 Execution failed for task ':app:mergeReleaseResources'. 플러터로 앱을 개발하고 앱 아이콘을 변경 시 해당 에러가 뜨는 경우가 있다. 본인 같은 경우에는 flutter_launcher_icons 플러그인을 사용해서 변경 했다. 그런데도 빌드 시 이런 에러가 발생한다. 만약 이런 에러가 난다면 /android\app\src\main\res에 있는 png 파일 확장자를 확인하자. 만약 소문자로 png라고 되어 있으면 에러가 발생할 수 있다. 대문자로 전부 PNG로 변경해주면 해결이 된다.(다른 부가적인 문제가 없을 시) 2024. 5. 3. 이전 1 2 3 4 5 6 7 8 ··· 33 다음 반응형